XPS Unified Programmer’s Manual
7.2.2.43 ZygoConnectToServer
Name
ZygoConnectToServer – Connect ZYGO to server.
Input tests
- Refer to section 7.1: “Input Tests Common to all XPS Functions”.
- Checks the object type of this command is valid: (-8)
- Checks Zygo is enabled: (-205)
Description
This function opens a TCP/IP communication with a ZMI Measuring board.
Prototype
int ZygoConnectToServer(
int SocketID
)
Input parameters
SocketID int Socket identifier gets by the
“TCP_ConnectToServer” function.
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.
• -205: Not enable in your configuration.
• -1002: Connection to Zygo TCP server failed.
• -1003: The XPS controller is already connected to Zygo TCP server.
641 EDH0373En1023 — 01/18