XPS Unified Programmer’s Manual
7.2.1.98 GroupPositionCurrentGet
Name
GroupPositionCurrentGet – Gets the current position for one or all positioners of the
selected group.
Input tests
- Refer to section 7.1: “Input Tests Common to all XPS Functions”.
- Valids positioner name: (-18)
- Valids group name: (-19)
Description
Returns the current position for one or all positioners of the selected group.
The current position is defined as:
CurrentPosition = SetpointPosition - FollowingError
Prototype
int GroupPositionCurrentGet(
int SocketID,
char * GroupName,
int NbPositioners,
double * CurrentPosition
)
Input parameters
SocketID int Socket identifier gets by the
“TCP_ConnectToServer” function.
GroupName char * Group name.
NbPositioners int Number of positioners in the selected group.
Output parameters
CurrentPosition double * Current position array.
Return (In addition to the results of “Input Tests Common to all XPS
Functions”)
• 0: No error.
• -8: Wrong object type for this command.
• -18: Positioner Name doesn't exist or unknown command.
• -19: GroupName doesn't exist or unknown command.
159 EDH0373En1023 — 01/18