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.

(A:FUEL TOTAL QUANTITY,percent)

Featured Replies

I would have thought that (A:FUEL TOTAL QUANTITY,percent) read the fuel quantity from either the aircraft.cfg or the *.air file, which I assume it must. However, when using this variable to read the fuel quantity and display it in a string in XML, I have to apply a factor, depending on the fuel in gallons set in the aircraft.cfg, to get the string to read 100% when the tank is full.Example:Aircraft.cfg settings:fuel_type = 2number_of_tank_selectors = 1Center1 = -6.870, 0, 0, 75.000, 0electric_pump=0number_of_tank_selectors = 1 Fuel set to 1 tank, 75 gall capacity.So to get that to read 100% when full I have to do this:%((A:FUEL TOTAL QUANTITY,percent) 3.512 * d 0 == ?)%!3d!Question: What am I doing wrong? Am I using the wrong A Var for this? Why the need to apply a variable to adjust the readout to read 100% dependant on the amount of fuel set in the tank?help is always appreciated.Steve

Steve,May be this one??%((A:FUEL TOTAL QUANTITY,gallons) (A:FUEL TOTAL CAPACITY,gallons) / 100 *)%!d!Hope it helps,Jan"Beatus Ille Procul Negotiis"

Jan

 

 

 

"Beatus ille qui procul negotiis..."

Yup, that did it.Thanks Jan

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.