XPS Unified Programmer’s Manual
7.2.2.11 GetVarXSecondary
Name
GetVarXSecondary – Gets the configured value of the parameter name from stages.ini
for X secondary 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 X secondary
positioner.
Prototype
int GetVarXSecondary(
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.
EDH0373En1023 — 01/18 600