Agilent Technologies E1439 manual Age1439fiberLEDget, LedRegPtr

Models: E1439

1 246
Download 246 pages 11.5 Kb
Page 120
Image 120

id

ledRegPtr

Note

Agilent E1439 Programmer's Reference

Functions listed alphabetically

age1439_fiber_LED_get

Returns a data register indicating the state of the front panel XMT/RCV LEDs.

VXIplug&play Syntax

#include "age1439".h

ViStatus age1439_fiber_LED_get(ViSession id, ViPInt16 ledRegPtr);

Description

This function returns a register value that indicates the current state of the front panel XMT and RCV LEDs.

Parameters

is the VXI instrument session pointer returned by the age1439_init function.

points to the current value of the LED register.

AGE1439_LED_RX_SIGNAL indicates an optical signal has been detected, the RCV LED is on or blinking.

AGE1439_LED_RX_DATA indicates data was received in approximately the last 500 ms, the RCV LED is blinking.

AGE1439_LED_TX_ENABLED indicates that the transmitter in enabled, the XMT LED is on or blinking.

AGE1439_LED_TX_DATA indicates local data was transmitted in approximately the last 500 ms, the XMT LED is blinking.

The AGE1439_STATUS_FIBER_ACTIVE bit is set when either of or both the XMT or RCV LEDs are blinking, indicating data is being received and/or being transmitted.

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, “age1439_fiber_signal_get” on page 115, “age1439_status_get” on page 176

110

Page 120
Image 120
Agilent Technologies E1439 manual Age1439fiberLEDget, LedRegPtr