Zygowritelong - Newport XPS Programmer's Manual

Xps unified series universal high-performance motion controller/driver
Hide thumbs Also See for XPS:
Table of Contents

Advertisement

XPS Unified
EDH0373En1023 — 01/18
7.2.2.67

ZygoWriteLong

Name
ZygoWriteLong – Write data to a long register of ZMI Measuring board.
Input tests
-
Refer to section 7.1: "Input Tests Common to all XPS Functions".
Description
This function write data to a long register (max 32-bits) of ZMI Measuring board.
Example
Write 0x5000 to Control Register 1 on Axis 1:
ZygoWriteLong(AXIS1, A, 5000)
ZMI Measuring board Response:
OK
Prototype
int ZygoWriteLong(
int SocketID,
char * AxisNum,
char * Register,
char * Data,
char * Response
)
Input parameters
SocketID
AxisNum
Register
Data
Output parameters
Response
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".
int
Socket identifier gets by the
"TCP_ConnectToServer" function.
char *
"AXIS1" or "AXIS2".
char *
Register value in hexadecimal.
char *
Data value in hexadecimal in max-32bits.
char *
Response returned by the ZMI Measuring board.
668
Programmer's Manual

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Xps-rlXps-qXps-d

Table of Contents