XPS Unified Programmer’s Manual
7.2.2.54 ZygoRegisterGet
Name
ZygoRegisterGet – Gets register value from P2 ZYGO board.
Input tests
- Refer to section 7.1: “Input Tests Common to all XPS Functions”.
- Checks the object type of this command is valid: (-8)
Description
This function reads the register value from P2 ZYGO board.
Refer to the list of P2 interface registers.
Prototype
int ZygoRegisterGet(
int SocketID,
char * PositionerName,
int Register,
int * Value
)
Input parameters
SocketID int Socket identifier gets by the
“TCP_ConnectToServer” function.
PositionerName char * Positioner name.
Register int Register value in hexadecimal.
Output parameters
Value int * Response returned by the ZMI Measuring board.
Return (In addition to the results of “Input Tests Common to all XPS
Functions”)
• 0: No error.
• -8: Wrong object type for this command.
EDH0373En1023 — 01/18 652