XPS Unified Programmer’s Manual
7.2.2.33 SetVarXSecondary
Name
SetVarXSecondary – Sets new value for a specified 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
Set new value for the specified parameter name from stages.ini file for the X secondary
positioner.
Prototype
int SetVarXSecondary(
int SocketID,
char * ParameterName,
double ParameterValue
)
Input parameters
SocketID int Socket identifier gets by the
“TCP_ConnectToServer” function.
ParameterName char * Stages.ini parameter name.
ParameterValue double The value to be set for the “ParameterName”.
Output parameters
None.
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.
631 EDH0373En1023 — 01/18