gvar

Purpose:

Retrieve and display the value of a specified variable from shared memory in CyFlex.

Enter:

gvar <variable_name> [units]

Where:

variable_name

Specify the name of variable whose value to retrieve. A CSAR variable label may also be specified.

units

Optional. Specify the retrieval units to attach to the variable name, for example: variable_name[units].

Example:

gvar engine_hours
The above command gets the value of the variable engine_hrs.

gvar engine_hours [min]
The above commend gets the value of the variable engine_hrs in units of minutes

Notes:

The gvar command performs unit conversion checks if units are specified.

See Also:

svar, Array Variables