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

ParametersUniversal Var MemberDescription
ALTERNATOR_BREAKER_PULLEDb (BOOL)Whether the alternator breaker has been pulled (TRUE, 1) or not (FALSE, 0).
ALTERNATOR_CONNECTION_ONb (BOOL)Whether the alternator connection is on (TRUE, 1) or not (FALSE, 0).
GENERATOR_ALTERNATOR_1_BUS_AMPSGENERATOR_ALTERNATOR_2_BUS_AMPSGENERATOR_ALTERNATOR_3_BUS_AMPSGENERATOR_ALTERNATOR_4_BUS_AMPSn (FLOAT64)The engine 1/2/3/4 generator alternator bus amperage.
GENERATOR_ALTERNATOR_1_BUS_VOLTAGEGENERATOR_ALTERNATOR_2_BUS_VOLTAGEGENERATOR_ALTERNATOR_3_BUS_VOLTAGEGENERATOR_ALTERNATOR_4_BUS_VOLTAGEn (FLOAT64)The engine 1/2/3/4 generator alternator bus voltage.
MASTER_ALTERNATORb (BOOL)Whether the generator alternator is switched on (TRUE, 1) or not (FALSE, 0).

APU

ParametersUniversal Var MemberDescription
APU_BLEED_PRESSURE_RECEIVED_BY_ENGINEn (FLOAT64)The amount of pressure received by the engine form the APU, in psi.
APU_GENERATOR_SWITCHb (BOOL)Whether the APU is switched on (TRUE, 1) or not (FALSE, 0).
APU_GENERATOR_ACTIVEb (BOOL)Whether the APU generator is switched on (TRUE, 1) or not (FALSE, 0).
APU_ON_FIRE_DETECTEDb (BOOL)Whether the APU is on fire (TRUE, 1) or not (FALSE, 0).
APU_PCT_RPMn (FLOAT64)The APU RPM expressed as a Percent Over 100.
APU_PCT_STARTERn (FLOAT64)The auxiliary power unit starter, expressed as a Percent Over 100.
APU_SWITCHb (BOOL)Whether the APU is switched on (TRUE, 1) or not (FALSE, 0).
APU_VOLTSn (FLOAT64)The APU voltage.

Batteries

ParametersUniversal Var MemberDescription
BATTERY_BREAKER_PULLEDb (BOOL)Whether the battery breaker has been pulled (TRUE, 1) or not (False, 0).
BATTERY_CONNECTION_ONb (BOOL)Whether the battery connection is on (TRUE, 1) or not (False, 0).
BATTERY_ESTIMATED_CAPACITY_PCTn (FLOAT64)The battery capacity expressed as a Percent Over 100.
BATTERY_LOADn (FLOAT64)The battery load in amps.
BATTERY_VOLTAGEn (FLOAT64)The battery voltage, in volts.
MASTER_BATTERYb (BOOL)The master battery switch position where TRUE (1) is on and FALSE (0) is off.

Breakers

ParametersUniversal Var MemberDescription
BREAKER_ADFb (BOOL)Whether the ADF breaker is pulled (TRUE, 1) or not (FALSE, 0).
BREAKER_ALTFLDb (BOOL)Whether the Alt field breaker is pulled (TRUE, 1) or not (FALSE, 0).
BREAKER_AUTOPILOTb (BOOL)Whether the autopilot breaker is pulled (TRUE, 1) or not (FALSE, 0).
BREAKER_AVNBUS1BREAKER_AVNBUS2b (BOOL)Whether the aviation bus 1/2 breaker is pulled (TRUE, 1) or not (FALSE, 0).
BREAKER_AVNFANb (BOOL)Whether the aviation fan breaker is pulled (TRUE, 1) or not (FALSE, 0).
BREAKER_FLAPb (BOOL)Whether the flap breaker is pulled (TRUE, 1) or not (FALSE, 0).
BREAKER_GPSb (BOOL)Whether the GPS breaker is pulled (TRUE, 1) or not (FALSE, 0).
BREAKER_INSTb (BOOL)Whether the INST breaker is pulled (TRUE, 1) or not (FALSE, 0).
BREAKER_INSTLTSb (BOOL)Whether the INST LTS breaker is pulled (TRUE, 1) or not (FALSE, 0).
BREAKER_LTS_PWRb (BOOL)Whether the LTS power breaker is pulled (TRUE, 1) or not (FALSE, 0).
BREAKER_NAVCOM1BREAKER_NAVCOM2BREAKER_NAVCOM3BREAKER_NAVCOM4b (BOOL)Whether the COM 1/2/3/4 breaker is pulled (TRUE, 1) or not (FALSE, 0).
BREAKER_TURNCOORDb (BOOL)Whether the turn coordinate breaker is pulled (TRUE, 1) or not (FALSE, 0).
BREAKER_WARNb (BOOL)Whether the warning breaker is pulled (TRUE, 1) or not (FALSE, 0).
BREAKER_XPNDRb (BOOL)Whether the transponder breaker is pulled (TRUE, 1) or not (FALSE, 0).

Buses

ParametersUniversal Var MemberDescription
AVIONICS_BUS_AMPSn (FLOAT64)The avionics bus current, in amps.
AVIONICS_BUS_VOLTAGEn (FLOAT64)The avionics bus voltage, in volts.
BATTERY_BUS_AMPSn (FLOAT64)The battery bus current, in amps.
BATTERY_BUS_VOLTAGEn (FLOAT64)The battery bus voltage, in volts.
BUS_BREAKER_PULLEDb (BOOL)Whether the bus breaker is pulled (TRUE, 1) or not (FALSE, 0).
BUS_CONNECTION_ONb (BOOL)Whether the bus connection is on (TRUE, 1) or not (False, 0).
BUS_LOOKUP_INDEXn (FLOAT64)The bus lookup index value.
HOT_BATTERY_BUS_AMPSn (FLOAT64)The hot battery bus current, in amps.
HOT_BATTERY_BUS_VOLTAGEn (FLOAT64)The hot battery bus voltage, in volts.
MAIN_BUS_AMPSn (FLOAT64)The main bus current, in amps.
MAIN_BUS_VOLTAGEn (FLOAT64)The main bus voltage, in volts.

Circuits

ParametersUniversal Var MemberDescription
AUTO_BRAKES_CIRCUIT_ONb (BOOL)Whether the auto brake circuit is on (TRUE, 1) or off (FALSE, 0).
AUTO_FEATHER_CIRCUIT_ONb (BOOL)Whether the auto feather circuit is on (TRUE, 1) or off (FALSE, 0).
AUTOPILOT_CIRCUIT_ONb (BOOL)Whether the autopilot circuit is on (TRUE, 1) or off (FALSE, 0).
AVIONICS_CIRCUIT_ONb (BOOL)Whether the avionics circuit is on (TRUE, 1) or off (FALSE, 0).
CIRCUIT_BREAKER_PULLEDb (BOOL)Whether the circuit breaker has been pulled (TRUE, 1) or not (FALSE, 0).
CIRCUIT_COM_ONb (BOOL)Whether the COM circuit is on (TRUE, 1) or off (FALSE, 0).
CIRCUIT_CONNECTION_ONb (BOOL)Whether there is a circuit connection (TRUE, 1) or not (FALSE, 0).
CIRCUIT_NAV_ONb (BOOL)Whether the NAV circuit is on (TRUE, 1) or off (FALSE, 0).
CIRCUIT_NAVCOM1_ONCIRCUIT_NAVCOM2_ONCIRCUIT_NAVCOM3_ONCIRCUIT_NAVCOM4_ONb (BOOL)Whether the COM 1/2/3/4 circuits are on (TRUE, 1) or off (FALSE, 0).
CIRCUIT_ONb (BOOL)Whether the circuit is on (TRUE, 1) or off (FALSE, 0).
CIRCUIT_SWITCH_ONb (BOOL)Whether the circuit switch is on (TRUE, 1) or off (FALSE, 0).
FLAP_MOTOR_CIRCUIT_ONb (BOOL)Whether the flaps motor circuit is on (TRUE, 1) or off (FALSE, 0).
GEAR_MOTOR_CIRCUIT_ONb (BOOL)Whether the gear motor circuit is on (TRUE, 1) or off (FALSE, 0).
GEAR_WARNING_CIRCUIT_ONb (BOOL)Whether the gear warning circuit is on (TRUE, 1) or off (FALSE, 0).
GENERAL_PANEL_CIRCUIT_ONb (BOOL)Whether the general panel circuit is on (TRUE, 1) or off (FALSE, 0).
HYDRAULIC_PUMP_CIRCUIT_ONb (BOOL)Whether the hydraulic pump circuit is on (TRUE, 1) or off (FALSE, 0).
MARKER_BEACON_CIRCUIT_ONb (BOOL)Whether the marker beacon circuit is on (TRUE, 1) or off (FALSE, 0).
PITOT_HEAT_CIRCUIT_ONb (BOOL)Whether the pitot heat circuit is on (TRUE, 1) or off (FALSE, 0).
PROP_SYNC_CIRCUIT_ONb (BOOL)Whether the prop-sync circuit is on (TRUE, 1) or off (FALSE, 0).
STANDBY_VACUUM_CIRCUIT_ONb (BOOL)Whether the standby vacuum circuit is on (TRUE, 1) or off (FALSE, 0).

External Power

ParametersUniversal Var MemberDescription
EXTERNAL_POWER_AVAILABLEb (BOOL)Whether external power is available (TRUE, 1) or not (FALSE, 0).
EXTERNAL_POWER_BREAKER_PULLEDb (BOOL)Whether external power breaker is pulled (TRUE, 1) or not (FALSE, 0).
EXTERNAL_POWER_CONNECTION_ONb (BOOL)Whether external power is connected (TRUE, 1) or not (FALSE, 0).
EXTERNAL_POWER_ONb (BOOL)Whether external power is on (TRUE, 1) or not (FALSE, 0).

Lights

ParametersUniversal Var MemberDescription
BEACON_LIGHTSn (FLOAT64)Whether beacon lights are on (TRUE, 1) or not (FALSE, 0).
IS_ANY_INTERIOR_LIGHT_ONb (BOOL)Whether any interior lights are on (TRUE, 1) or not (FALSE, 0).
LANDING_LIGHTSn (FLOAT64)Whether the landing lights are on (TRUE, 1) or not (FALSE, 0).
LIGHT_BACKLIGHT_INTENSITYn (FLOAT64)The aircraft backlight intensity, where 0 is off and 1 is full intensity.
LIGHT_BEACON_ONb (BOOL)Whether the beacon lights are on (TRUE, 1) or not (FALSE, 0).
LIGHT_CABIN_ONb (BOOL)Whether the cabin lights are on (TRUE, 1) or not (FALSE, 0).
LIGHT_GLARESHIELDn (FLOAT64)Whether the glareshield light is enabled (TRUE, 1) or not (FALSE, 0).
LIGHT_GYROLIGHT_INTENSITYn (FLOAT64)The aircraft gyrolight intensity, where 0 is off and 1 is full intensity.
LIGHT_HEADLIGHT_INTENSITYn (FLOAT64)The aircraft headlight intensity, where 0 is off and 1 is full intensity.
LIGHT_LANDING_ONb (BOOL)Whether the landing lights are on (TRUE, 1) or not (FALSE, 0).
LIGHT_LOGO_ONb (BOOL)Whether the logo lights are on (TRUE, 1) or not (FALSE, 0).
LIGHT_NAV_ONb (BOOL)Whether the NAV lights are on (TRUE, 1) or not (FALSE, 0).
LIGHT_PANEL_ONb (BOOL)Whether the panel lights are on (TRUE, 1) or not (FALSE, 0).
LIGHT_PEDESTRALn (FLOAT64)Whether the pedestral switch is enabled (TRUE, 1) or not (FALSE, 0).
LIGHT_POTENTIOMETERn (FLOAT64)The light potentiometer position, expressed as a Percent Over 100.
LIGHT_STROBE_ONb (BOOL)Whether the strobe lights are on (TRUE, 1) or not (FALSE, 0).
LIGHT_RECOGNITION_ONb (BOOL)Whether the recognition lights are on (TRUE, 1) or not (FALSE, 0).
LIGHT_TAXI_ONb (BOOL)Whether the taxi lights are on (TRUE, 1) or not (FALSE, 0).
LIGHT_WING_ONb (BOOL)Whether the wing lights are on (TRUE, 1) or not (FALSE, 0).
LOGO_LIGHTSn (FLOAT64)Whether the logo switch is enabled (TRUE, 1) or not (FALSE, 0).
NAV_LIGHTSn (FLOAT64)Whether the NAV switch is enabled (TRUE, 1) or not (FALSE, 0).
PANEL_LIGHTSn (FLOAT64)Whether the panel switch is enabled (TRUE, 1) or not (FALSE, 0).
RECOGNITION_LIGHTSn (FLOAT64)Whether the recognition lights switch is enabled (TRUE, 1) or not (FALSE, 0).
STROBE_FLASHb (BOOL)Whether the strobe lights are flashing (TRUE, 1) or not (FALSE, 0).
STROBE_LIGHTSn (FLOAT64)Whether the strobe light switch is enabled (TRUE, 1) or not (FALSE, 0).
TAXI_LIGHTSn (FLOAT64)Whether the taxi light switch is enabled (TRUE, 1) or not (FALSE, 0).
WING_LIGHTSn (FLOAT64)Whether the wing light switch is enabled (TRUE, 1) or not (FALSE, 0).

General

ParametersUniversal Var MemberDescription
CHARGING_AMPSn (FLOAT64)Charging system amps, where 1 amp = 65535. This is a legacy parameter and has been deprecated.
TOTAL_LOAD_AMPSn (FLOAT64)The total load amperage, in amps.

0/255