GENERAL SIMULATION
This page lists the available simulation Token Variables for use when creating gauges using WASM / C++.
Miscellaneous
Date And Time
Parameters | Universal Var Member | Description |
---|---|---|
CLOCK_HOUR |
n (FLOAT64) |
Specifies local clock time, in hours (0-23). |
CLOCK_MINUTE |
n (FLOAT64) |
Specifies local clock time, in minutes (0-59). |
CLOCK_SECOND |
n (FLOAT64) |
Specifies local clock time, in seconds (0-59). |
CLOCK_TOTAL_SECONDS |
n (FLOAT64) |
Local clock time, seconds since midnight. |
CURRENT_MONTH |
n (FLOAT64) |
The current month as a value from 1-12. |
CURRENT_YEAR |
n (FLOAT64) |
The current year. |
DAY_OF_MONTH |
n (FLOAT64) |
The current day of the month from 1-31. |
DAY_OF_WEEK |
n (FLOAT64) |
the current day of the week from 0-6. |
DAYLIGHT_SAVING_ACTIVE |
b (BOOL) |
If TRUE (1) then daylight saving is active, otherwise it will be FALSE (0). |
ELAPSED_SECONDS |
n (FLOAT64) |
Measured in seconds. |
TIME_ZONE_OFFSET |
n (FLOAT64) |
Measured in minutes, positive west of GMT. |
ZULU_DAY |
n (FLOAT64) |
This returns the current Zulu Time day (1-365/366). |
ZULU_HOUR |
n (FLOAT64) |
This returns the current Zulu Time hour. |
ZULU_MINUTE |
n (FLOAT64) |
This returns the current Zulu Time minute. |
ZULU_YEAR |
n (FLOAT64) |
This returns the current Zulu Time year. |
Flight Conditions
Parameters | Universal Var Member | Description |
---|---|---|
ACCELERATION_BODY_X |
n (FLOAT64) |
Acceleration relative to the aircraft axis, in an east/west direction, calculated in ft per second. |
ACCELERATION_BODY_Y |
n (FLOAT64) |
Acceleration relative to the aircraft Y axis, in a vertical direction, calculated in ft per second. |
ACCELERATION_BODY_Z |
n (FLOAT64) |
Acceleration relative to the aircraft Z axis, in a north/south direction, calculated in ft per second. |
ACCELERATION_WORLD_X |
n (FLOAT64) |
Acceleration relative to the earth, in an east/west direction, calculated in ft per second. |
ACCELERATION_WORLD_Y |
n (FLOAT64) |
Acceleration relative to the earth, in a vertical direction, calculated in ft per second. |
ACCELERATION_WORLD_Z |
n (FLOAT64) |
Acceleration relative to the earth, in a north/south direction, calculated in ft per second. |
AMBIENT_PRES_MBAR |
n (FLOAT64) |
The ambient air pressure, where: 1013.2 mb = 29.92 inHg (1/16 mb = 1 unit) |
AMBIENT_TEMP_DEGREES_C |
n (FLOAT64) |
The ambient temperature, where: 15º Celsius = 59º degrees F (1/256 degrees Celsius = 1 unit). |
AMBIENT_WIND_DIR |
n (FLOAT64) |
Specifies the current wind direction. |
AMBIENT_WIND_VEL |
n (FLOAT64) |
Specifies current wind velocity (knots). |
AMBIENT_WINDA |
n (FLOAT64) |
Specifies alt wind component in m/sec units. |
AMBIENT_WINDE |
n (FLOAT64) |
Specifies east wind component in m/sec units. |
AMBIENT_WINDN |
n (FLOAT64) |
Specifies north wind component in m/sec units. |
BAROMETRIC_PRESSURE |
n (FLOAT64) |
Specifies barometric pressure experienced. |
RELATIVE_WIND_VELOCITY_BODY_X |
n (FLOAT64) |
Lateral (X-axis) speed relative to the wind, calculated in ft per second. |
RELATIVE_WIND_VELOCITY_BODY_Y |
n (FLOAT64) |
Vertical (Y-axis) speed relative to the wind, calculated in ft per second. |
RELATIVE_WIND_VELOCITY_BODY_Z |
n (FLOAT64) |
Longitudinal (Z-axis) speed relative to the wind, calculated in ft per second. |
STANDARD_ATM_TEMPERATURE |
n (FLOAT64) |
Standard atmosphere temperature at aircraft altitude in Celsius. |
TOTAL_AIR_TEMP |
n (FLOAT64) |
The total air temperature is the air temperature at the front of the aircraft where the ram pressure from the speed of the aircraft is taken into account. Value is degrees Celsius scaled by 1/256, eg: |
TOTAL_VELOCITY |
n (FLOAT64) |
Velocity regardless of direction. For example, if a helicopter is ascending vertically at 100 ft per second, then this variable will return 100. |
TOTAL_WORLD_VELOCITY |
n (FLOAT64) |
Speed relative to the earths center, calculated in ft per second. |
Variables
Parameters | Universal Var Member | Description |
---|---|---|
CONCORDE_NOSE_ANGLE |
n (FLOAT64) |
The concorde nose angle, in degrees, where 0 is "up". |
CONCORDE_VISOR_NOSE_HANDLE |
n (FLOAT64) |
One of the following values:
|
CONCORDE_VISOR_POS_PCT |
n (FLOAT64) |
The visor position expressed as a Percent Over 100, where 0 corresponds to fully up, and 1 is fully extended/down. |
GET_BOMB_AMMO |
n (FLOAT64) |
Get the number of bombs. |
GET_CANNON_AMMO |
n (FLOAT64) |
Get the amount of cannon ammunition. |
GET_GUN_AMMO |
n (FLOAT64) |
Get the amount of gun ammunition. |
GET_ROCKET_AMMO |
n (FLOAT64) |
Get the number of rockets. |
RACE_LAST_LAP_TIME |
n (FLOAT64) |
Get the last lap time in a race. |
RAD_INS_SWITCH |
b (BOOL) |
Will be TRUE (1) if the Rad INS switch is on, or FALSE (0) otherwise (used in Concorde only). |