XPS Unified Programmer’s Manual
7.2.2.61 ZygoSetOffsetY
Name
ZygoSetOffsetY – Sets offset value for Y 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 Y (defined as Zygo axis #1).
The offset value is subtracted from the position value.
Prototype
int ZygoSetOffsetY(
int SocketID,
long Yoffset
)
Input parameters
SocketID int Socket identifier gets by the
“TCP_ConnectToServer” function.
Yoffset long Offset value for Y.
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.
EDH0373En1023 — 01/18 660