Skip to content
View in the app

A better way to browse. Learn more.

The AVSIM Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Help with Automatic Flap Deployment XML gauge!!

Featured Replies

I'm working on a gauge that uses the tailhook as an 'arming' device, which triggers the flaps to automatically deploy at 35kts and retract at 230kts, along with the tailhook (to de-arm the flaps). The problem is that: If you don't arm the tailhook during takeoff the tailhook is still toggled as you pass through the 230kt limit. Which then triggers the flaps if you dip below 230kts..... The code I'm using is: (A:TAILHOOK POSITION,position) 0 == ! (A:AIRSPEED TRUE,knots) 35 > && (A:AIRSPEED TRUE,knots) 230 < && if{ 1 (>K:STROBES_ON) (>K:FLAPS_DOWN) } els{ (>K:STROBES_OFF) (>K:FLAPS_UP) } (A:AIRSPEED TRUE,knots) 231 > (L:Beacon toggled,number) 0 <= && if{ (>K:TOGGLE_TAIL_HOOK_HANDLE) 5 (>L:Beacon toggled,number) (L:Beacon toggled,number) -- (>L:Beacon toggled,number) } Any suggestions would be most appreciated, or indeed any ideas on other sites I could try for help. Please bear in mind I'm not a competent programmer!!

Maybe this can help, I like to do this step by step then combine after testing. Kinda quick like, so there may be some slang in it. (A:TAILHOOK POSITION,position) 1 == (A:AIRSPEED TRUE,knots) 35 > (A:AIRSPEED TRUE,knots) 235 < & &amp if{ 1 (>G:Var1) } (A:TAILHOOK POSITION,position) 0 == (A:AIRSPEED TRUE,knots) 35 < (A:AIRSPEED TRUE,knots) 235 > || || if{ 0 (>G:Var1) } (G:Var1) 1 == if{ (A:AIRSPEED TRUE,knots) 35 > (A:AIRSPEED TRUE,knots) 230 < & if{ (>K:STROBES_ON) (>K:FLAPS_DOWN) } els{ (G:Var1) 1 == if{ (>K:STROBES_OFF) (>K:FLAPS_UP) } } } Hope it helps... Off to dinner and cocktails :-)))Regards,Roman(KGRB)

20AUG21_Avsim_Sig.png?dl=1  FS RTWR   SHRS F-111   JoinFS   Little Navmap 
 

 

Off to dinner and cocktails eh...! Many thanks for your help. I appreciate it.

Sorry, I still can't get the darn things to function properly. Probably because I'm a novice to programming anything like this and what I've pieced together so far has taken about a month of guess work! But I won't give up just yet.

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.