XPS Unified Programmer’s Manual
7.2.2.55 ZygoRegisterSet
Name
ZygoRegisterSet – Sets 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 sets the register value from P2 ZYGO board.
Refer to the list of P2 interface registers.
Prototype
int ZygoRegisterSet(
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.
Value int Response returned by the ZMI Measuring board.
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.
653 EDH0373En1023 — 01/18