Agilent Technologies E1439 User Manual page 173

Vxi 70 mhz if adc with filters and memory
Table of Contents

Advertisement

In continuous data collection mode, wordCount should be set equal to the maximum possible
wordCount to ensure that the entire data block is read out.
overloadPtr
returns an overload indicator.
use the overload argument for the age1439_read_raw function is this:
1. Set up the hardware.
2. Call
3. Call
If data is not available, the read function returns immediately with one of the following return values, and
the overload indication is AGE1439_OFF:
When data is available, AGE1439_SUCCESS is returned and the overload value reflects whether an
overload was encountered for the given data block.
4. In continuous mode, subsequent data blocks can be read by calling the
5. When used in this way, an overload indication is given for each and every
Note
The primary purpose of the age1439_read_raw function is to provide the fastest possible way to
read blocks of data from the module. Since this command does not perform data scaling after
reading data it may save 10-20% of the overall age1439_read time, depending on the host
computer in use. The resulting data ordering is dependent on the data type and resolution. The
array may be cast as a long before reading the data to provide whole words.
Example
A declaration in the Front Panel example program can be changed to exercise age1439_read_
raw() in frmMain of e1439.vbp:
Const constFreqCentRaw = False
Return Value
Data type
REAL
REAL
COMPLEX
COMPLEX
See "Comments on Overload" on page
age1439_meas_start
.
age1439_read_raw
AGE1439_NO_DATA_MEASUREMENT_IN_PROGRESS
AGE1439_NO_DATA_MEASUREMENT_PAUSED
AGE1439_NO_DATA_WAITING_FOR_TRIGGER
AGE1439_NO_DATA_WAITING_FOR_ARM
function again (
age1439_read_raw
again).
data block read in block mode. In continuous mode the overload indicator
only means there was an overload sometime after calling
AGE1439_SUCCESS
AGE1439_NO_DATA_MEASUREMENT_IN_PROGRESS
Agilent E1439 Programmer's Reference
Resolution
(bits)
12
24
12
24
.
age1439_meas_start
'when TRUE, use age1439_read_raw()
'instead of age1439_read
Functions listed alphabetically
Words per sample
2
4
4
8
160. The way to properly
should not be called
age1439_meas_start
.
163

Advertisement

Table of Contents
loading

Table of Contents