EasyManuals Logo

Newport XPS Programmer's Manual

Newport XPS
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
Page #103 background imageLoading...
Page #103 background image
XPS Unified Programmer’s Manual
7.2.1.43 GatheringDataMultipleLinesGet
Name
GatheringDataMultipleLinesGet Reads several data lines from the current gathering
buffer in memory.
Input tests
- Refer to section 7.1: “Input Tests Common to all XPS Functions”.
- Checks index number: (-17)
IndexPoint 0 (Note: index #0 = line #1)
IndexPoint <currently gathered data number.
- Checks gathering state: (-32)
Description
This function reads one or several data lines from the current gathering buffer. The
buffer line number is defined by the index of an acquired point.
The separator is “;” in the returned data line and the end of each line is carriage return
“\n”.
Gathering must be configured in order to use this function, otherwise (-32) error is
returned.
Example of gathering buffer in memory:
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
GatheringDataMultipleLinesGet(0, 3, myString)
= >0 = the start line is #1
= >3 = the number of lines to read is 3
= >myString = buffer to get the part of buffer (32767 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:
1;10;0.1;21;100
2;20;0.2;22;102
3;30;0.3;23;103
89 EDH0373En1023 01/18

Table of Contents

Other manuals for Newport XPS

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Newport XPS and is the answer not in the manual?

Newport XPS Specifications

General IconGeneral
Controller TypeMulti-axis motion controller
Power Supply24 VDC
Communication InterfaceEthernet
Programming LanguageC, C++, .NET, LabVIEW
Supported Motor TypesStepper
Operating System CompatibilityWindows
AxesUp to 8 axes

Related product manuals