EasyManua.ls Logo

Newport XPS-D - Page 104

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
GatheringDataMultipleLinesGet(1, 4, myString)
= >1 = the start line is #2
= >4 = the number of lines to read is 4
= >myString = buffer to get the part of buffer (65536 characters maximum)
index
Data1
Data2
Data3
Data4
Data5
0
1
10
0.1
21
100
1
2
20
0.2
22
102
2
3
30
0.3
23
103
3
4
40
0.4
24
104
5
5
50
0.5
25
105
“myString” result:
2;20;0.2;22;102
3;30;0.3;23;103
4;40;0.4;24;104
5;50;0.5;25;105
Prototype
int GatheringDataMultipleLinesGet(
int SocketID,
int IndexPoint,
char * DataBufferLine
)
Input parameters
SocketID int Socket identifier gets by the
“TCP_ConnectToServer” function.
IndexPoint int Index of an acquired data from the current
gathering buffer.
NbLines int Number of lines to get.
Output parameters
DataBufferLine char * String contains values from the current buffer at
the selected index.
Return (In addition to the results of “Input Tests Common to all XPS
Functions”)
0: No error.
-17: Parameter out of range or incorrect.
-32: Gathering not configured.
EDH0373En1023 01/18 90

Table of Contents

Other manuals for Newport XPS-D

Related product manuals