XPS Unified Programmer’s Manual
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”.
NOTE
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 int Socket identifier gets by the
“TCP_ConnectToServer” function.
Number int Index in the global array.
Output parameters
StringValue char * Variable value.
Return (In addition to the results of “Input Tests Common to all XPS
Functions”)
• 0: No error.
• -17: Parameter out of range or incorrect.
EDH0373En1023 — 01/18 102