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_AMPS

GENERATOR_ALTERNATOR_2_BUS_AMPS

GENERATOR_ALTERNATOR_3_BUS_AMPS

GENERATOR_ALTERNATOR_4_BUS_AMPS

n (FLOAT64)The engine 1/2/3/4 generator alternator bus amperage.
GENERATOR_ALTERNATOR_1_BUS_VOLTAGE

GENERATOR_ALTERNATOR_2_BUS_VOLTAGE

GENERATOR_ALTERNATOR_3_BUS_VOLTAGE

GENERATOR_ALTERNATOR_4_BUS_VOLTAGE

n (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

Parameters

Universal Var Member

Description

BREAKER_ADFb (BOOL)

Whether the ADF breaker is pulled (TRUE, 1) or not (FALSE, 0).

BREAKER_ALTFLD

Whether the Alt field breaker is pulled (TRUE, 1) or not (FALSE, 0).

BREAKER_AUTOPILOT

Whether the autopilot breaker is pulled (TRUE, 1) or not (FALSE, 0).

BREAKER_AVNBUS1BREAKER_AVNBUS2

Whether the aviation bus 1/2 breaker is pulled (TRUE, 1) or not (FALSE, 0).

BREAKER_AVNFAN

Whether the aviation fan breaker is pulled (TRUE, 1) or not (FALSE, 0).

BREAKER_FLAP

Whether the flap breaker is pulled (TRUE, 1) or not (FALSE, 0).

BREAKER_GPS

Whether the GPS breaker is pulled (TRUE, 1) or not (FALSE, 0).

BREAKER_INST

Whether the INST breaker is pulled (TRUE, 1) or not (FALSE, 0).

BREAKER_INSTLTS

Whether the INST LTS breaker is pulled (TRUE, 1) or not (FALSE, 0).

BREAKER_LTS_PWR

Whether the LTS power breaker is pulled (TRUE, 1) or not (FALSE, 0).

BREAKER_NAVCOM1BREAKER_NAVCOM2BREAKER_NAVCOM3BREAKER_NAVCOM4

Whether the COM 1/2/3/4 breaker is pulled (TRUE, 1) or not (FALSE, 0).

BREAKER_TURNCOORD

Whether the turn coordinate breaker is pulled (TRUE, 1) or not (FALSE, 0).

BREAKER_WARN

Whether the warning breaker is pulled (TRUE, 1) or not (FALSE, 0).

BREAKER_XPNDR

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

Parameters

Universal Var Member

Description

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_ON

Whether the autopilot circuit is on (TRUE, 1) or off (FALSE, 0).

AVIONICS_CIRCUIT_ON

Whether the avionics circuit is on (TRUE, 1) or off (FALSE, 0).

CIRCUIT_BREAKER_PULLED

Whether the circuit breaker has been pulled (TRUE, 1) or not (FALSE, 0).

CIRCUIT_COM_ON

Whether the COM circuit is on (TRUE, 1) or off (FALSE, 0).

CIRCUIT_CONNECTION_ON

Whether the re is a circuit connection (TRUE, 1) or not (FALSE, 0).

CIRCUIT_NAV_ON

Whether the NAV circuit is on (TRUE, 1) or off (FALSE, 0).

CIRCUIT_NAVCOM1_ONCIRCUIT_NAVCOM2_ONCIRCUIT_NAVCOM3_ONCIRCUIT_NAVCOM4_ON

Whether the COM 1/2/3/4 circuits are on (TRUE, 1) or off (FALSE, 0).

CIRCUIT_ON

Whether the circuit is on (TRUE, 1) or off (FALSE, 0).

CIRCUIT_SWITCH_ON

Whether the circuit switch is on (TRUE, 1) or off (FALSE, 0).

FLAP_MOTOR_CIRCUIT_ON

Whether the flaps motor circuit is on (TRUE, 1) or off (FALSE, 0).

GEAR_MOTOR_CIRCUIT_ON

Whether the gear motor circuit is on (TRUE, 1) or off (FALSE, 0).

GEAR_WARNING_CIRCUIT_ON

Whether the gear warning circuit is on (TRUE, 1) or off (FALSE, 0).

GENERAL_PANEL_CIRCUIT_ON

Whether the general panel circuit is on (TRUE, 1) or off (FALSE, 0).

HYDRAULIC_PUMP_CIRCUIT_ON

Whether the hydraulic pump circuit is on (TRUE, 1) or off (FALSE, 0).

MARKER_BEACON_CIRCUIT_ON

Whether the marker beacon circuit is on (TRUE, 1) or off (FALSE, 0).

PITOT_HEAT_CIRCUIT_ON

Whether the pitot heat circuit is on (TRUE, 1) or off (FALSE, 0).

PROP_SYNC_CIRCUIT_ON

Whether the prop-sync circuit is on (TRUE, 1) or off (FALSE, 0).

STANDBY_VACUUM_CIRCUIT_ON

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.