beautypg.com

Agilent Technologies VXI E1439 User Manual

Page 124

background image

114

Agilent E1439 Programmer's Reference

Functions listed alphabetically

FIBER_MODE_RAW

and the age1439_data_port to fiber will result in the

AGE1439_

STATUS_SETUP_ERROR

bit being set. This is because the fiber interface cannot send both raw

and filtered ADC data at the same time.

Note

Attempting to use the flow control while in

AGE1439_FIBER_MODE_RAW

fiber mode will

likely result in a

TX_ERR_OVERRUN

error. The transmit FIFO size is only1 Kbyte

AGE1439_FIBER_MODE_GENERATE

causes filtered ADC data to be transmitted over the

fiber interface when one block is available in the FIFO. When flow control is enabled in this
mode, an external optical receiver can send stop and go commands that cause the module to pause
or resume data transmission. Received optical data other than data flow control signals are
ignored.

AGE1439_FIBER_MODE_APPEND

copies data from the fiber optic receiver to the fiber optic

transmitter and appends its own filtered ADC data, when available.

fibermodePtr

points to the current value of fiberMode.

flowControlMode

configures fiber flow control. When flow control is on, an external optic receiver can pause or
resume the fiber data transmission by sending a stop or go command. Received optical data other
than flow control signals and PIO bits are ignored.

AGE1439_FLOW_CONTROL_NO_COPY

responds to received flow control signals GO and

STOP, and transmits GO.

AGE1439_FLOW_CONTROL_COPY

responds to received flow control signals GO and STOP,

and transmits the received flow control signal values.

AGE1439_FLOW_CONTROL_OFF

disables fiber flow control.

f

lowControlModePtr

points to the current value of flowControlMode.

transferRate

sets both the transmitter and receiver raw data rates.

AGE1439_106MBS

transfers data at the legacy data rate of 106 Mbytes per second. This is the

default setting.

AGE1439_250MBS

transfers data at 250 Mbytes per second. This is fast enough to support

continuous transmission of data at the highest sample rates and bit depths.

transferRatePtr

points to the current value of transferRate.

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

“Default values” on page 201

,

“age1439_init” on page 132

,

“age1439_error_message” on

page 102

This manual is related to the following products: