XPS Unified Programmer’s Manual
7.2.1.18 DoubleGlobalArraySet
Name
DoubleGlobalArraySet – Sets a value for the global array of type “double”.
Input tests
- Refer to section 7.1: “Input Tests Common to all XPS Functions”.
- Verifies the index number [0:1000]: (-17)
Description
This function sets a new value in the global array located at the “Number” index and the
new value is set in a double format.
NOTE
The first variable value from the global array is always located at index “0”.
The number of data points in the global array is limited to 1000, so the last index is
“999”.
Prototype
int DoubleGlobalArraySet(
int SocketID,
int Number,
double DoubleValue
)
Input parameters
SocketID int Socket identifier gets by the
“TCP_ConnectToServer” function.
Number int Index in the global array.
DoubleValue double Variable value.
Output parameters
None.
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 60