GAUGE: A320 Style Fuel
Gauge v1.1.000 - Current Version 28th Jan 2024

Features:
Fuel Gauge in KG for Aircraft using the following Fuel Tanks. Left Aux, Left Main, Center, Right Main and Right Aux
 
1) Used Fuel Eng 1&2
2) Total Used Fuel
3) 3x Switchable Fuel Valves
4) Tank Empty indications
5) Tank Fuel Level Management
6) Fuel Flow Eng 1+2
7) Fuel On Board
8) Gross Weight
9) Mirror Left Tanks to Right
10) Black or Blue Background
11) Optional Glass Reflection
12) Mini Menu
13) Brightness Control (Physical FIP)
14) Virtual Power Function
 
Fuel Value Animations require MSFS 2020
 
Some FREE FBW improved compatibility snippets to download
https://fipgauges.com/download/Gauge_Snippets.zip

Aircraft Compatibility:
Simulator: Fully Compatible
3rd Party: Mostly Compatible*
Please report any 3rd Party incompatibility via our discord channel
* some improved FBW compatability via included scripts on [S1] Button

Buttons & Dials Summary:
[S1] Toggle Fuel Value 1:
[S2] Toggle Fuel Value 2:
[S3] Toggle Fuel Value 3:
[S4] Tank Selection / Longpress mirror left to Right:
[S5] Toggle input in Gph or KGph:
[S6] Toggle Black and Blue backgrounds:
[L Dial] Menu Value Up/Down:
[R Dial] Menu Left/Right:

The Main Gauge:
For FBW compatibility I have created some code snippets https://fipgauges.com/download/FBW_Gauge_Snippets.zip
 
The snippet files are named after the gauge filename they relate to and the buttons they should be pasted to. Do not attempt to use snippets on different gauges other then the gauge filename shown and MUST be pasted to the button or dial indicated in the snippet file name.

The Sidebar:
N/A

Variables:
[S1] SCRIPTED CUSTOM VARIABLE MAPPINGS:
FG_A320_FUEL_FUELFLOW1 (Session)
FG_A320_FUEL_FUELFLOW2 (Session)
FG_A320_FUEL_FUELUSED1 (WIP)
FG_A320_FUEL_FUELUSED2 (WIP)
 
FG_A320_FUEL_MENU (Session)
     Menu Item Index (0 to 5)
     0 = Menu Closed
     1 = Version & Info
     2 = fuel Flow Units
     3 = Glass Reflection
     4 = Background Colour
     5 = Brightness Control
 
FG_A320_GLOBAL_FUEL_UNITS (Profile)
 
FG_A320_FUEL_MENU_ACTIVE (Session)
     If Menu Preview Mode is Active (Off = 0, On = 1)
 
FG_A320PFD_TEXT_COLOUR_1 (Profile)
     Font colour 1 (Default = White #FEFEFE)
 
FG_A320PFD_TEXT_COLOUR_2 (Profile)
     Font colour 2 (Default = Magenta #FF00FF)
 
FG_A320PFD_TEXT_COLOUR_3 (Profile)
     Font colour 3 (Default = Cyan #00F0FF)
 
FG_A320PFD_TEXT_COLOUR_4 (Profile)
     Font colour 3 (Default = Green #00DD00)
 
FG_A320PFD_TEXT_COLOUR_5 (Profile)
     Font colour 3 (Default = Orange #FF7700)
 
SIMCONNECT Vars Used:
(FUELSYSTEM VALVE OPEN:1)
(FUELSYSTEM VALVE OPEN:2)
(FUELSYSTEM VALVE OPEN:3)
(FUEL TANK CENTER QUANTITY,Gallons)
(FUEL TANK LEFT MAIN QUANTITY,Gallons)
(FUEL TANK RIGHT MAIN QUANTITY,Gallons)
(GENERAL ENG FUEL USED SINCE START:1,gallons)
(FUEL WEIGHT PER GALLON,kg)
(GENERAL ENG FUEL USED SINCE START:2,gallons)
(ENG FUEL FLOW GPH:1,gph)
(FUEL TANK LEFT AUX QUANTITY,Gallons)
(FUEL TANK RIGHT AUX QUANTITY,Gallons)
(FUEL TOTAL QUANTITY WEIGHT,kg)
(TOTAL WEIGHT,kg)
 
fipgauges.com GLOBAL VARIABLES:
(not all vars used in every gauge)
 
FG_GLOBAL_GAUGE_BRIGHTNESS (Profile)
     Brightness value of physical FIP's. Affects all physical gauges (20-250)
 
FG_GLOBAL_GAUGE_BRIGHTNESS_MODE (Profile)
     Variable used when editing Global or individual Brightness (0-1)
     0 - Global Brightness
     1 - Inedividual Brightness
 
FG_GLOBAL_GLASS (Profile)
     Glass Reflection (Off = 0, On = 1)
 
FG_GLOBAL_HIDE_MENU_LED (Profile)
     Toggle visibility of Mini Menu LED (0 = On, 1 = Off)
 
FG_GLOBAL_JET_BACKGROUND_COLOUR (Profile)
     Background Colour (Black = 0, Blue = 1 )
 
FG_GLOBAL_MIN_VOLTAGE (Profile)
     Minimum voltage before gauge electronics turns off (-1 to 150)
     -1 = Disabled
     0 - 150 = Off Voltage Level
 
FG_GLOBAL_MIN_VOLTAGE_CACHE (Profile)
     Internal Variable - Used to store off voltage value - do not edit
  
FG_GLOBAL_PANEL_LIGHTS (Profile)
     Night Lit Mode (Off = 0, On = 1)
    
FG_GLOBAL_VOLTAGE (Session)
     Internal variable used to read current voltage
 

Release Notes:
1.1.000
     - 1) SPAD.neXt 0.9.15 Compatibility (Convert "PRESS" to "PRESSSHORT") Fixes short and long press both firing on long press.
     - 2) New gauge brightness code using SPAD brightness variables.
     - 3) Can control global or individual gauge brightness in gauge (Profile saved settings)
     - 4) Better use of button lights
1.0.004 - Added long press on [S1] To open and close menu to save scrolling back through menu to exit
1.0.003 - SPAD.neXt 0.9.13 Compatibility (Author ID)
1.0.002 - Fixed Fuel Flow Unit conversion
1.0.001 - Refulling in FBW works now
1.0.000 - Public Release
0.0.001 - Fuel tank selection and level control for the 5 tanks. Increment and decrement 5% steps. Mirror left Tank levels to right tanks.
0.0.000 - Initial Beta

Please report any bugs or feature requests via our discord channel


Document Published 12/02/2024

Copyright fipgauges.com 12/02/2024