aircraft_varget
The aircraft_varget function retrieves the value of an aircraft simulation variable.
Syntax
FLOAT64 aircraft_varget(
ENUM simvar,
ENUM units,
SINT32 index
);
Members
Parameters | Description |
---|---|
simvar |
Specifies a simulation variable enum value. Use get_aircraft_var_enum to retrieve the enum value from a string. |
units |
Specifies the units enum value the returned value should have. Use get_units_enum to retrieve the enum value from a string. |
index |
Specifies an index number, which is required for some engine and communication data. Refer to the Simulation Variables document for details. |
Return Values
The function returns the value in a FLOAT64. If the simulation variable is not found, zero will be returned.
Remarks
N/A
See Also