WARNINGS AND FAILURES

This page lists the available warning and failure Token Variables for use when creating gauges using WASM / C++.

 

 

Failure States

Parameters Universal Var Member Description
PP_ADF

e (ENUM)

  1. 0 = ok
  2. 1 = fail
  3. 2 = blank
ADF failure state.
PP_AIR

e (ENUM)

  1. 0 = ok
  2. 1 = fail
  3. 2 = blank

Airspeed gauge failure state.

PP_ALTIM

e (ENUM)

  1. 0 = ok
  2. 1 = fail
  3. 2 = blank

Altimeter failure state.

PP_ATTITUDE

e (ENUM)

  1. 0 = ok
  2. 1 = fail
  3. 2 = blank

Attitude failure state.

PP_COM

e (ENUM)

  1. 0 = ok
  2. 1 = fail
  3. 2 = blank

COM gauge failure state.

PP_COMPASS

e (ENUM)

  1. 0 = ok
  2. 1 = fail
  3. 2 = blank

Compass failure state.

PP_ELECT

e (ENUM)

  1. 0 = ok
  2. 1 = fail
  3. 2 = blank

Panels circuit failure state.

PP_ENGINE

e (ENUM)

  1. 0 = ok
  2. 1 = fail
  3. 2 = blank

Engine gauges failure state.

PP_FUEL_IND

e (ENUM)

  1. 0 = ok
  2. 1 = fail
  3. 2 = blank

Fuel indicator failure state.

PP_HEADING

e (ENUM)

  1. 0 = ok
  2. 1 = fail
  3. 2 = blank

Heading indicator failure state.

PP_VERT_VEL

e (ENUM)

  1. 0 = ok
  2. 1 = fail
  3. 2 = blank

Vertical velocity indicator failure state.

PP_XPNDR

e (ENUM)

  1. 0 = ok
  2. 1 = fail
  3. 2 = blank

Transponder failure state.

PP_NAV

e (ENUM)

  1. 0 = ok
  2. 1 = fail
  3. 2 = blank

NAV gauges failure state.

PP_PITOT

e (ENUM)

  1. 0 = ok
  2. 1 = fail
  3. 2 = blank

Pitot system failure state.

PP_TURN_COORD

e (ENUM)

  1. 0 = ok
  2. 1 = fail
  3. 2 = blank

Turn coordinator failure state.

PP_VACUUM

e (ENUM)

  1. 0 = ok
  2. 1 = fail
  3. 2 = blank

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.

 

 

Warnings

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)

  1. 0 = None
  2. 1 = Sink Rate
  3. 2 = Don't sink
  4. 3 = Pull Up
  5. 4 = Too low gear up
  6. 5 = Too low flaps up
  7. 6 = Too low terrain
  8. 7 = Invalid
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.