www.vtiinstruments.com
EX10xxA Function Calls
207
vtex10xxA_read_fifoEx
F
UNCTION
P
ROTOTYPE
ViStatus _VI_FUNC vtex10xxA_read_fifoEx(ViSession
vi
, ViInt32
maxscans
, ViReal64
ts_secs[]
,
ViReal64
ts_fsecs[]
, ViPInt32
numscans
, ViInt32
maxdata
, ViReal64
data[]
, ViPInt32
numdata
,
ViInt32
maxcjcdata
, ViReal64
cjcdata[]
, ViPInt32
numcjcdata
, ViInt32
to_secs
);
F
UNCTION
P
ARAMETERS
vi
= contains a session handle to the instrument. This handle is obtained by the function and remains valid until the
session is closed.
maxscans
= the maximum number of scans to return. Valid return values: 1 through (2
31
-1).
ts_secs[]
= a return array of scan start times, specified in seconds since the epoch (Jan. 1, 1970).
ts_fsecs[]
= a return array of scan start times, specified in seconds since the last full second represented in
ts_secs[]
.
numscans
= an integer output value indicating the actual number of scans retrieved. Valid
maxdata
= the maximum length of the return data array. Valid return values: 1 through (2
31
-1).
data[]
= a return array of sample data.
numdata
= an integer output value indicating the actual number of samples retrieved. Valid return values: 1 through
(2
31
-1).
maxcjcdata
= the maximum length of the return CJC data array. Valid return values: 1 through (2
31
-1).
cjcdata
= a return array of CJC data.
numcjcdata
= an integer output value indicating the actual number of CJC data retrieved. Valid return values:
1 through (2
31
-1).
to_secs
= the timeout period (in seconds), indicating how long to poll the EX10xxA for data. Valid return values:
0 through (2
31
-1), where 0 represents an infinite timeout period.
D
ATA
I
TEM
R
ESET
V
ALUE
Not applicable to this function.
D
ESCRIPTION
This function retrieves acquisition data with timestamps and CJC data. Data returned by this function includes input
channel measurement data and the start time of each scan.
NOTE
In order to provide the maximum reading buffer capacity for future acquisitions, data is deleted from
the FIFO memory upon retrieval.
E
XAMPLE
ViInt32
channels[5] = {0, 1, 2, 3, 4};
ViReal64 ts_secs[20], ts_fsecs[20], data[100];
Содержание EX1000A
Страница 25: ...www vtiinstruments com EX10xxA Introduction 25 FIGURE 1 2 RACKMOUNT HARDWARE INSTALLATION DIAGRAM ...
Страница 27: ...www vtiinstruments com EX10xxA Introduction 27 FIGURE 1 4 ISOMETRIC AND INTERNAL CJC PLATE DIAGRAM ...
Страница 28: ...VTI Instruments Corp 28 EX10xxA Introduction EX1044 DIAGRAM ...
Страница 29: ...www vtiinstruments com EX10xxA Introduction 29 FIGURE 1 5 EX1044 TABLE TOP USAGE ...
Страница 34: ......
Страница 56: ......
Страница 74: ......
Страница 130: ......
Страница 282: ......