XPS Unified Programmer’s Manual
7.2.1.96 GroupMoveEndWait
Name
GroupMoveEndWait– Wait for the end of move (XY group only).
Input tests
- Refer to section 7.1: “Input Tests Common to all XPS Functions”.
- Checks the group is “XY”: (-8)
- Checks expected position after motion: (-211)
Description
This function allows waiting for the true end of the move (after a GroupMoveAbsolute,
GroupMoveRelative or GroupMoveSlice).
It is only available for an XY group.
Prototype
int GroupMoveEndWait(
int SocketID,
char * GroupName,
double TimeOutMs,
double XPosition,
double YPosition
)
Input parameters
SocketID int Socket identifier gets by the
“TCP_ConnectToServer” function.
GroupName char *
XY Group name.
TimeOutMs double Time out in milliseconds.
XPosition double
X position to check in controller unit.
YPosition double
Y position to check in controller unit.
Output parameters
None.
Return (In addition to the results of “Input Tests Common to all XPS
Functions”)
• 0: No error.
• -8: Wrong object type for this command.
• -211: Not expected position after motion.
EDH0373En1023 — 01/18 156