EasyManua.ls Logo

Newport XPS-D - Zygoreadword

Newport XPS-D
722 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
XPS Unified Programmer’s Manual
7.2.2.53 ZygoReadWord
Name
ZygoReadWordRead a long register from a ZMI Measuring board.
Input tests
- Refer to section 7.1: “Input Tests Common to all XPS Functions”.
Description
This function reads a WORD register data (max 16-bits) from a ZMI Measuring board.
Example
Read Control Register 1 on Axis 2:
ZygoReadWord (AXIS2, A)
ZMI Measuring board Response:
#H1
Prototype
int ZygoReadWord(
int SocketID,
char * AxisNum,
char * Register,
char * Response
)
Input parameters
SocketID int Socket identifier gets by the
“TCP_ConnectToServer” function.
AxisNum char * “AXIS1” or “AXIS2”.
Register char * Register value in hexadecimal.
Output parameters
Response char * Response returned by the ZMI Measuring board.
Return (In addition to the results of “Input Tests Common to all XPS
Functions”)
0: No error.
-2: TCP timeout.
-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”.
651 EDH0373En1023 01/18

Table of Contents

Other manuals for Newport XPS-D

Related product manuals