XPS Unified Programmer’s Manual
7.2.1.366 XYGroupPositionPCORawEncoderGet
Name
XYGroupPositionPCORawEncoderGet – Gets the PCO raw encoder positions for an
XY group.
Input tests
- Refer to section 7.1: “Input Tests Common to all XPS Functions”.
- Valids object type: (-8)
- Valids group type (must be an XY group): (-18)
- Valids group name: (-19)
Description
This function returns the PCO raw encoder positions X and Y from the user specified
positions X and Y.
Prototype
int XYGroupPositionPCORawEncoderGet(
int SocketID,
char * GroupName,
double PositionX,
double PositionY,
double * PCORawPositionX,
double * PCORawPositionY
)
Input parameters
SocketID int Socket identifier gets by the
“TCP_ConnectToServer” function.
GroupName char * Group name.
PositionX double User corrected position X.
PositionY double User corrected position Y.
Output parameters
PCORawPositionX double * PCO Raw position X.
PCORawPositionY double * PCO Raw position Y.
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.
EDH0373En1023 — 01/18 532