
hpe1437_read
Reads scaled 32-bit float data fromFIFO . This description also includes the
following function:
hpe1437_read64
reads scaled 64-bit float data, implemented specifically for VEE
applications.
VXI
plug&play
Syntax
#include “hpe1437.h”
ViStatus
hpe1437_read
(ViSession
id
, ViReal32
rec
[ ], ViInt32
sampleCount
, ViPInt16
overloadPtr
);
ViStatus
hpe1437_read64
(ViSession
id
, ViReal64
rec
[ ], ViInt32
sampleCount
,
ViPInt16
overloadPtr
);
Description
hpe1437_read
returns a block of floating point data fromthe E1437 that has been
scaled to be in volts. The function waits for a block of data to be ready before
attempting to read the block.
These function can only read data fromthe VME backplane register. The data port of
the E1437 must be set to
HPE1437_VME
by the
hpe1437_data_port
function for
these functions to be effective.
Parameters
id
is the VXI instrument session pointer returned by the
hpe1437_init
function.
rec
is a pointer to the array into which the floating point data is to be placed. Be sure to
allocate sufficient storage space at this location to hold the full data record as
determined by the
samplecount
parameter. Note that when the module is set to
complex data type, the output data record contains 2
×
samplecount
floating point
values. For real data the record contains
samplecount
floating point values.
sampleCount
determines the number of sample points to read into the data array. This
should never be set larger than the
blocksize
parameter set in the
hpe1437_data_blocksize
function. In continuous data collection mode or when
append
status
is turned on,
samplecount
should be set equal to
blocksize
to ensure that
the entire data block is read out and that the last word corresponds to
appendStatus
.
E1437A User's Guide
VXI
plug&play
Programming Reference
4-50
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Содержание E1437A
Страница 7: ...Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...
Страница 47: ...Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...
Страница 123: ...Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...
Страница 177: ...Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...
Страница 178: ...6 Module Description 6 1 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...
Страница 187: ...Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...
Страница 188: ...7 Verifying the E1437A 7 1 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...
Страница 190: ...8 Replacing Assemblies 8 1 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...
Страница 201: ...Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...
Страница 202: ...9 Backdating 9 1 Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...
Страница 207: ...Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...
Страница 209: ...Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...