ELECTRICS
IMPORTANT! Token Variables - along with the Gauge API - have been deprecated in Microsoft Flight Simulator 2024 in favour of the new Vars API and Event API, which work with the more extensive and supported Simulation Variables and Key Events.
This page lists the available electrical Token Variables for use when creating gauges using WASM / C++.
Alternator
APU
Parameters | Universal Var Member | Description |
---|---|---|
APU_BLEED_PRESSURE_RECEIVED_BY_ENGINE |
n (FLOAT64) |
The amount of pressure received by the engine form the APU, in psi. |
APU_GENERATOR_SWITCH |
b (BOOL) |
Whether the APU is switched on (TRUE, 1) or not (FALSE, 0). |
APU_GENERATOR_ACTIVE |
b (BOOL) |
Whether the APU generator is switched on (TRUE, 1) or not (FALSE, 0). |
APU_ON_FIRE_DETECTED |
b (BOOL) |
Whether the APU is on fire (TRUE, 1) or not (FALSE, 0). |
APU_PCT_RPM |
n (FLOAT64) |
The APU RPM expressed as a Percent Over 100. |
APU_PCT_STARTER |
n (FLOAT64) |
The auxiliary power unit starter, expressed as a Percent Over 100. |
APU_SWITCH |
b (BOOL) |
Whether the APU is switched on (TRUE, 1) or not (FALSE, 0). |
APU_VOLTS |
n (FLOAT64) |
The APU voltage. |
Batteries
Parameters | Universal Var Member | Description |
---|---|---|
BATTERY_BREAKER_PULLED |
b (BOOL) |
Whether the battery breaker has been pulled (TRUE, 1) or not (False, 0). |
BATTERY_CONNECTION_ON |
b (BOOL) |
Whether the battery connection is on (TRUE, 1) or not (False, 0). |
BATTERY_ESTIMATED_CAPACITY_PCT |
n (FLOAT64) |
The battery capacity expressed as a Percent Over 100. |
BATTERY_LOAD |
n (FLOAT64) |
The battery load in amps. |
BATTERY_VOLTAGE |
n (FLOAT64) |
The battery voltage, in volts. |
MASTER_BATTERY |
b (BOOL) |
The master battery switch position where TRUE (1) is on and FALSE (0) is off. |
Breakers
Buses
Circuits
External Power
Lights
Parameters | Universal Var Member | Description |
---|---|---|
BEACON_LIGHTS |
n (FLOAT64) |
Whether beacon lights are on (TRUE, 1) or not (FALSE, 0). |
IS_ANY_INTERIOR_LIGHT_ON |
b (BOOL) |
Whether any interior lights are on (TRUE, 1) or not (FALSE, 0). |
LANDING_LIGHTS |
n (FLOAT64) |
Whether the landing lights are on (TRUE, 1) or not (FALSE, 0). |
LIGHT_BACKLIGHT_INTENSITY |
n (FLOAT64) |
The aircraft backlight intensity, where 0 is off and 1 is full intensity. |
LIGHT_BEACON_ON |
b (BOOL) |
Whether the beacon lights are on (TRUE, 1) or not (FALSE, 0). |
LIGHT_CABIN_ON |
b (BOOL) |
Whether the cabin lights are on (TRUE, 1) or not (FALSE, 0). |
LIGHT_GLARESHIELD |
n (FLOAT64) |
Whether the glareshield light is enabled (TRUE, 1) or not (FALSE, 0). |
LIGHT_GYROLIGHT_INTENSITY |
n (FLOAT64) |
The aircraft gyrolight intensity, where 0 is off and 1 is full intensity. |
LIGHT_HEADLIGHT_INTENSITY |
n (FLOAT64) |
The aircraft headlight intensity, where 0 is off and 1 is full intensity. |
LIGHT_LANDING_ON |
b (BOOL) |
Whether the landing lights are on (TRUE, 1) or not (FALSE, 0). |
LIGHT_LOGO_ON |
b (BOOL) |
Whether the logo lights are on (TRUE, 1) or not (FALSE, 0). |
LIGHT_NAV_ON |
b (BOOL) |
Whether the NAV lights are on (TRUE, 1) or not (FALSE, 0). |
LIGHT_PANEL_ON |
b (BOOL) |
Whether the panel lights are on (TRUE, 1) or not (FALSE, 0). |
LIGHT_PEDESTRAL |
n (FLOAT64) |
Whether the pedestral switch is enabled (TRUE, 1) or not (FALSE, 0). |
LIGHT_POTENTIOMETER |
n (FLOAT64) |
The light potentiometer position, expressed as a Percent Over 100. |
LIGHT_STROBE_ON |
b (BOOL) |
Whether the strobe lights are on (TRUE, 1) or not (FALSE, 0). |
LIGHT_RECOGNITION_ON |
b (BOOL) |
Whether the recognition lights are on (TRUE, 1) or not (FALSE, 0). |
LIGHT_TAXI_ON |
b (BOOL) |
Whether the taxi lights are on (TRUE, 1) or not (FALSE, 0). |
LIGHT_WING_ON |
b (BOOL) |
Whether the wing lights are on (TRUE, 1) or not (FALSE, 0). |
LOGO_LIGHTS |
n (FLOAT64) |
Whether the logo switch is enabled (TRUE, 1) or not (FALSE, 0). |
NAV_LIGHTS |
n (FLOAT64) |
Whether the NAV switch is enabled (TRUE, 1) or not (FALSE, 0). |
PANEL_LIGHTS |
n (FLOAT64) |
Whether the panel switch is enabled (TRUE, 1) or not (FALSE, 0). |
RECOGNITION_LIGHTS |
n (FLOAT64) |
Whether the recognition lights switch is enabled (TRUE, 1) or not (FALSE, 0). |
STROBE_FLASH |
b (BOOL) |
Whether the strobe lights are flashing (TRUE, 1) or not (FALSE, 0). |
STROBE_LIGHTS |
n (FLOAT64) |
Whether the strobe light switch is enabled (TRUE, 1) or not (FALSE, 0). |
TAXI_LIGHTS |
n (FLOAT64) |
Whether the taxi light switch is enabled (TRUE, 1) or not (FALSE, 0). |
WING_LIGHTS |
n (FLOAT64) |
Whether the wing light switch is enabled (TRUE, 1) or not (FALSE, 0). |
General