Globalarrayget - 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.1.55

GlobalArrayGet

Name
GlobalArrayGet – Gets the variable value from the global array.
Input tests
-
Refer to section 7.1: "Input Tests Common to all XPS Functions".
-
Verifies the index number [0:100[: (-17)
Description
This function gets the variable value from the global array, related to "Number" index
in a string format.
The first variable value from the global array is referenced to index "0".
The number of data points in the global array is limited to 100.
Prototype
int GlobalArrayGet(
int SocketID,
int Number,
char * StringValue
)
Input parameters
SocketID
Number
Output parameters
StringValue
Return (In addition to the results of "Input Tests Common to all XPS
Functions")
• 0:
No error.
• -17:
Parameter out of range or incorrect.
NOTE
int
Socket identifier gets by the
"TCP_ConnectToServer" function.
int
Index in the global array.
char *
Variable value.
102
Programmer's Manual

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Xps-rlXps-qXps-d

Table of Contents