# Warnings And Failures {{< callout context="caution" title="IMPORTANT!" icon="outline/alert-triangle" >}} Token Variables - along with the [Gauge API](../../gauge-api/) - have been deprecated in Microsoft Flight Simulator 2024 in favour of the new [Vars API](../../../vars-api/vars-api/) and [Event API](../../../event-api/event-api/), which work with the more extensive and supported [Simulation Variables](../../../../simvars/simulation-variables/) and [Key Events](../../../../key-events/key-events-index/). {{< /callout >}} This page lists the available **warning and failure** [Token Variables](../token-variables/) for use when creating gauges using {{< glossterm >}}wasm{{< /glossterm >}} / C++. ### Failure States {{< table-wrapper >}} | Parameters | Universal Var Member | Description | |---|---|---| | `PP_ADF` | `e` (ENUM){{< params/smallfont-list >}}0 = ok1 = fail2 = blank{{< /params/smallfont-list >}} | {{< glossterm >}}adf{{< /glossterm >}} failure state. | | `PP_AIR` | `e` (ENUM){{< params/smallfont-list >}}0 = ok1 = fail2 = blank{{< /params/smallfont-list >}} | Airspeed gauge failure state. | | `PP_ALTIM` | `e` (ENUM){{< params/smallfont-list >}}0 = ok1 = fail2 = blank{{< /params/smallfont-list >}} | Altimeter failure state. | | `PP_ATTITUDE` | `e` (ENUM){{< params/smallfont-list >}}0 = ok1 = fail2 = blank{{< /params/smallfont-list >}} | Attitude failure state. | | `PP_COM` | `e` (ENUM){{< params/smallfont-list >}}0 = ok1 = fail2 = blank{{< /params/smallfont-list >}} | COM gauge failure state. | | `PP_COMPASS` | `e` (ENUM){{< params/smallfont-list >}}0 = ok1 = fail2 = blank{{< /params/smallfont-list >}} | Compass failure state. | | `PP_ELECT` | `e` (ENUM){{< params/smallfont-list >}}0 = ok1 = fail2 = blank{{< /params/smallfont-list >}} | Panels circuit failure state. | | `PP_ENGINE` | `e` (ENUM){{< params/smallfont-list >}}0 = ok1 = fail2 = blank{{< /params/smallfont-list >}} | Engine gauges failure state. | | `PP_FUEL_IND` | `e` (ENUM){{< params/smallfont-list >}}0 = ok1 = fail2 = blank{{< /params/smallfont-list >}} | Fuel indicator failure state. | | `PP_HEADING` | `e` (ENUM){{< params/smallfont-list >}}0 = ok1 = fail2 = blank{{< /params/smallfont-list >}} | Heading indicator failure state. | | `PP_VERT_VEL` | `e` (ENUM){{< params/smallfont-list >}}0 = ok1 = fail2 = blank{{< /params/smallfont-list >}} | Vertical velocity indicator failure state. | | `PP_XPNDR` | `e` (ENUM){{< params/smallfont-list >}}0 = ok1 = fail2 = blank{{< /params/smallfont-list >}} | Transponder failure state. | | `PP_NAV` | `e` (ENUM){{< params/smallfont-list >}}0 = ok1 = fail2 = blank{{< /params/smallfont-list >}} | NAV gauges failure state. | | `PP_PITOT` | `e` (ENUM){{< params/smallfont-list >}}0 = ok1 = fail2 = blank{{< /params/smallfont-list >}} | Pitot system failure state. | | `PP_TURN_COORD` | `e` (ENUM){{< params/smallfont-list >}}0 = ok1 = fail2 = blank{{< /params/smallfont-list >}} | Turn coordinator failure state. | | `PP_VACUUM` | `e` (ENUM){{< params/smallfont-list >}}0 = ok1 = fail2 = blank{{< /params/smallfont-list >}} | Vacuum system failure state. | | `FLY_BY_WIRE_ELAC_FAILED` | `b` (BOOL) | Will be TRUE (1) if the elevators and ailerons computer has failed, or FALSE (0) otherwise. | | `FLY_BY_WIRE_FAC_FAILED` | `b` (BOOL) | Will be TRUE (1) if the flight augmentation computer has failed, or FALSE (0) otherwise. | | `FLY_BY_WIRE_SEC_FAILED` | `b` (BOOL) | Will be TRUE (1) if the spoilers and elevators computer has failed, or FALSE (0) otherwise. | {{< /table-wrapper >}} ### Warnings {{< table-wrapper >}} | Parameters | Universal Var Member | Description | |---|---|---| | `GEAR_WARNING` | `b` (BOOL) | Whether the gear warning is on (TRUE, 1) or off (FALSE, 0). | | `GPWS_WARNING` | `e` (ENUM){{< params/smallfont-list >}}0 = None1 = Sink Rate2 = Don't sink3 = Pull Up4 = Too low gear up5 = Too low flaps up6 = Too low terrain7 = Invalid{{< /params/smallfont-list >}} | Ground proximity warnings. | | `LOW_HEIGHT_WARNING` | `b` (BOOL) | Will be TRUE (1) if the low height warning is activated, and FALSE (0) if it's not. | | `OVERSPEED_WARNING` | `b` (BOOL) | Will be TRUE (1) if the overspeed warning is activated, and FALSE (0) if it's not. | | `STALL_WARNING` | `b` (BOOL) | Will be TRUE (1) if the stall warning is activated, and FALSE (0) if it's not. | | `WARNING_FUEL` | `b` (BOOL) | Will be TRUE (1) if the fuel warning is activated, and FALSE (0) if it's not. | | `WARNING_FUEL_L` | `b` (BOOL) | Will be TRUE (1) if the left fuel tank warning is activated, and FALSE (0) if it's not. | | `WARNING_FUEL_R` | `b` (BOOL) | Will be TRUE (1) if the right fuel tank warning is activated, and FALSE (0) if it's not. | | `WARNING_OIL_PSI` | `b` (BOOL) | Will be TRUE (1) if the oil pressure warning is activated, and FALSE (0) if it's not. | | `WARNING_VACUUM` | `b` (BOOL) | Will be TRUE (1) if the vacuum system warning is activated, and FALSE (0) if it's not. | | `WARNING_VACUUM_L` | `b` (BOOL) | Will be TRUE (1) if the left vacuum system warning is activated, and FALSE (0) if it's not. | | `WARNING_VACUUM_R` | `b` (BOOL) | Will be TRUE (1) if the right vacuum system warning is activated, and FALSE (0) if it's not. | | `WARNING_VOLTAGE` | `b` (BOOL) | Will be TRUE (1) if the voltage warning is activated, and FALSE (0) if it's not. | {{< /table-wrapper >}}