Motion Coordinator Technical Reference Manual
Using the Trio ActiveX Control 12-19
Variable Commands
Variable Commands
GetTable
Description:
Retrieves and writes the specified table values into the given array.
Syntax:
GetTable(StartPosition, NumberOfValues, Values)
Parameters
Return Value:
TrioPC STATUS
.
GetVariable
Description:
Returns the current value of the specified system variable. To specify different
base axes, the
BASE
command must be used.
Syntax:
GetVariable(Variable, Value)
Parameters
Return Value:
TrioPC STATUS
.
Long StartPosition:
Table location for first value in array
Long NumberOfValues:
Size of array to be transferred from Table Memory.
VARIANT Values:
A single numeric value or an array of numeric values,
of at least size NumberOfValues, into which the values
retrieved from the Table Memory will be stored.
BSTR Variable:
Name of the system variable to read
double *Value:
Variable in which to store the value read