XPS Unified Programmer’s Manual
7.2.2.12 GetVarY
Name
GetVarY – Gets the configured value of the parameter name from stages.ini for Y
positioner.
Input tests
- Refer to section 7.1: “Input Tests Common to all XPS Functions”.
- Checks input parameter value: (-17)
- Checks positioner name: (-18)
- Verifies the positioner is from a XY group: (-22)
Description
Get the configured value of the parameter name from stages.ini for Y positioner.
Prototype
int GetVarY(
int SocketID,
char * ParameterName,
double * ParameterValue
)
Input parameters
SocketID int Socket identifier gets by the
“TCP_ConnectToServer” function.
ParameterName char * Stages.ini parameter name.
Output parameters
ParameterValue double * The value to be set for the “ParameterName”.
Return (In addition to the results of “Input Tests Common to all XPS
Functions”)
• 0: No error.
• -17: Parameter out of range or incorrect.
• -18: Positioner Name doesn't exist or unknown command.
• -22: Not allowed action.
601 EDH0373En1023 — 01/18