XPS Unified Programmer’s Manual
7.2.2.41 ZygoADCDiagnosticStatusGet
Name
ZygoADCDiagnosticStatusGet – Gets the diagnostic ADC status.
Input tests
- Refer to section 7.1: “Input Tests Common to all XPS Functions”.
- Checks Axis number and Zygo axis number: (-17)
Description
Returns the diagnostic ADC status in relation to the ADC Mux number.
Prototype
int ZygoADCDiagnosticStatusGet(
int SocketID,
int Axis,
int ADCMuxNumber,
char * ADCDiagStatus
)
Input parameters
SocketID int Socket identifier gets by the
“TCP_ConnectToServer” function.
Axis int Zygo axis number (1 or 2).
ADCMuxNumber int ADC Mux (refer to table 4-12 from ZMI2402
manual).
Output parameters
ADCDiagStatus char * Raw value from Diag ADC Register.
Return (In addition to the results of “Input Tests Common to all XPS
Functions”)
• 0: No error.
• -2: TCP timeout.
• -17: Parameter out of range or incorrect.
• -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”.
639 EDH0373En1023 — 01/18