XPS Unified Programmer’s Manual
7.2.2.40 WaitMotionEnd
Name
WaitMotionEnd – Wait the end of move (XY group only).
Input tests
- Refer to section 7.1: “Input Tests Common to all XPS Functions”.
- Group must be “XY”: (-8)
- Checks expected position after motion: (-211)
Description
This function allows waiting the real end of move (after a GroupMoveAbsolute,
GroupMoveRelative or GroupMoveSlice).
NOTE
This function is available only for an XY group.
Prototype
int WaitMotionEnd(
int SocketID,
char * GroupName,
double TimeOutMs,
double YPosition,
double XPosition
)
Input parameters
SocketID int Socket identifier gets by the
“TCP_ConnectToServer” function.
GroupName char * XY Group name.
TimeOutMs double Time out in milliseconds.
YPosition double Y position to check
in microns.
XPosition double X position to check in microns.
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.
• -22: Not allowed action.
• -211: Not expected position after motion.
EDH0373En1023 — 01/18 638