XPS Unified Programmer’s Manual
7.2.2.51 ZygoPositionGet
Name
ZygoPositionGet – Gets positions of Y and X axes from ZMI system via Ethernet.
Input tests
- Refer to section 7.1: “Input Tests Common to all XPS Functions”.
- Checks Zygo is enabled: (-205)
Description
This function returns positions (36-bits) of Y and X axes.
Prototype
int ZygoPositionGet(
int SocketID,
long long int * PositionY,
long long int * PositionX
)
Input parameters
SocketID int Socket identifier gets by the
“TCP_ConnectToServer” function.
Output parameters
PositionY long long int * Current position of Y axis.
PositionX long long int * Current position of X axis.
Return (In addition to the results of “Input Tests Common to all XPS
Functions”)
• 0: No error.
• -2: TCP timeout.
• -205: Not enable in your configuration.
• -1000: Zygo command execution failed.
• -1001: The controller is not connected to Zygo TCP server. Run
ZygoStartInterferometer API.
• Zygo errors: Refer to section 8.9: “Error List”.
649 EDH0373En1023 — 01/18