XPS Unified Programmer’s Manual
7.2.2.60 ZygoSetOffsetX
Name
ZygoSetOffsetX – Sets offset value for X axis via Ethernet.
Input tests
- Refer to section 7.1: “Input Tests Common to all XPS Functions”.
- Checks input parameter type: (-127)
- Checks Zygo is enabled: (-205)
Description
This function sets the offset value for X (defined as Zygo axis #2).
The offset value is subtracted from the position value.
Prototype
int ZygoSetOffsetX(
int SocketID,
long Xoffset
)
Input parameters
SocketID int Socket identifier gets by the
“TCP_ConnectToServer” function.
Xoffset long Offset value for X.
Output parameters
None.
Return (In addition to the results of “Input Tests Common to all XPS
Functions”)
• 0: No error.
• -2: TCP timeout.
• -127: Wrong parameter type in the command string: long or long * expected.
• -205: Not enable in your configuration.
• -1000: Zygo command execution failed.
• -1001: The controller is not connected to Zygo TCP server. Run
ZygoStartInterferometer API.
659 EDH0373En1023 — 01/18