Agilent Technologies VXI E1439 User Manual

Page 187

Advertising
background image

177

Agilent E1439 Programmer's Reference

Functions listed alphabetically

Return Value

AGE1439_SUCCESS indicates that a function was successful.

Values other than AGE1439_SUCCESS indicate an error condition or other important status
condition. To determine the error message, pass the return value to

“age1439_error_message” on

page 102

.

See Also

“age1439_init” on page 132

8

AGE1439_STATUS_READ_VALID

This flag is set whenever there is at least one valid 16-bit
data word available to be read via the VME data register. Not
valid when using the local bus data port.

9

AGE1439_STATUS_BLOCK_READY

This bit is set in continuous mode whenever the size of the
data in the FIFO is equal to or greater than the block size
register. Check this bit before reading data to insure that a
block of data may be transferred without fear of running out
of data, thereby holding up the Local bus or VME bus. This bit
is set in block mode whenever the module has successfully
taken a block size number of samples since the most recent
trigger and is cleared when the block is read out, when force
to Idle is asserted, or when the module is armed for another
measurement.

10

AGE1439_STATUS_ARMED

This bit is set whenever the module is in the Trigger state, or
is in the Arm state and has satisfied its pre-trigger
requirements. When this bit is set, the module releases the
VXI Sync line. Once all modules release the Sync line, then all
modules go to the Trigger state.

11

AGE1439_STATUS_FIFO_OVERFLOW

FIFO Overflow: This bit set when the FIFO buffer overflows
in continuous mode

12

AGE1439_STATUS_OVERLOAD

This bit is set whenever the ADC converts a sample that
exceeds the range of the ADC. The bit is cleared when the
Status register is read.

13

AGE1439_STATUS_ERROR_QUEUE

This bit is set whenever there is an error in the error queue. It
is cleared when the error queue is empty

14

AGE1439_STATUS_MODID

A (1) in this field indicates that the module is not selected via
the P2 MODID line. A (0) indicates that the module is
selected by a high state on the P2 MODID line

15

AGE1439_STATUS_HARDWARE_SET

This bit is set when all commands are complete and the
hardware has been set

Status Bit

Definition

Description

Advertising
This manual is related to the following products: