Get Value

Returns the value contained in the specified cell.

Get Value Inputs

Syntax: GV[TagName]

Get Value Outputs

Returns a status code, followed by a line terminator, followed by the value contained in the specified cell. The status codes are:

Status Codes Description
1 The command was executed successfully.
0 Unrecognized command.
-1

Invalid tag name.

-2

The command could not be executed.

Note: An In-Sight cell containing any numeric value will return a float value formatted to 3 decimal places when requested by the Get Value command, regardless of whether the cell contains an integer or a floating-point value.

Get Value Example

Assume that cell A1 is named Math_1.A1.

A1 currently contains the value 6.000. The layout of the Math Tool spreadsheet is the following:

Issuing a GVMath_1.A1 command produces the following result: