XPS Unified
EDH0373En1023 — 01/18
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
PositionerName
Register
Output parameters
Value
Return (In addition to the results of "Input Tests Common to all XPS
Functions")
• 0:
No error.
• -8:
Wrong object type for this command.
int
Socket identifier gets by the
"TCP_ConnectToServer" function.
char *
Positioner name.
int
Register value in hexadecimal.
int *
Response returned by the ZMI Measuring board.
652
Programmer's Manual