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.

Tank selectors

Featured Replies

Hello, I am VERY new to gauge editing/creating. I have been trying to make a gauge automatically use the center tank untill it runs out and then switch over to the left and right tanks or all tanks to burn up the remaining fuel. I have a selector that will do this, but want it to be done automatically so on long flights I don't have to keep checking the remaining fuel for when it gets close and then switch over. Here is the code I got. So far it does nothing. Can anybody help?(A:Fuel_Tank_Center_Quantity, pounds) 10 > if{ (>K:FUEL_SELECTOR_CENTER) } els{ (>K:FUEL_SELECTOR_ALL) }Alex

Also I've tried setting it up this way. I have been at this for a week + and still no go. Here is my current xml code which as the one above does absolutly nothing. (A:Fuel Tank Center Quantity, pounds) 10 > if{ (A:FUEL TANK SELECTOR,bool) ! if{ (>K:FUEL SELECTOR CENTER) } } els{ (A:FUEL TANK SELECTOR,bool) if{ (>K:FUEL SELECTOR ALL) } } Does anybody have any ideas that can help? I am about to lose my mind. Again I'm trying to code into my gauge to automatically turn center tank fuel selector on above ten pounds and all tanks on below ten pounds. Also if there is a better way to make the aircraft use the center tank first that would be better. Thanks in advance.Alex

  • Author
  • Moderator

First of all, even IF this worked it would be a very BAD idea, because it will simply trigger the key-event about 18 times every second:(A:Fuel_Tank_Center_Quantity, pounds) 10 > if{ (>K:FUEL_SELECTOR_CENTER) } els{ (>K:FUEL_SELECTOR_ALL) }What you want to accomplish cannot be done in FS...If you want to simplify your fuel management, you can simply force the sim to use "ALL". The custom (L:DoOnce,bool) will guarantee it will only execute once... ;) (L:DoOnce,bool) 0 == if{ (>K:FUEL_SELECTOR_ALL) 1 (>L:DoOnce,bool) }

Fr. Bill    

AOPA Member: 07141481 AARP Member: 3209010556


     Avsim Board of Directors | Avsim Forums Moderator

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.