Age1439_fiber_rcv_signals_get – Agilent Technologies VXI E1439 User Manual

Page 121

Advertising
background image

111

Agilent E1439 Programmer's Reference

Functions listed alphabetically

age1439_fiber_rcv_signals_get

Returns the current value of the PIO1, PIO2, DIR, or NRDY bits present on the fiber receiver.

VXIplug&play Syntax

#include "age1439".h

ViStatus age1439_fiber_rcv_signals_get(ViSession id, ViPInt16 pio1, ViPInt16 pio2,
ViPInt16 dir, ViPInt16 nrdy);

Description

These are embedded Serial FPDP signals. The use of these bits is optional. Serial FPDP does not
use these four signals directly, but simply transmits them from sender to receiver. This function
displays the value of recovered PIO1, PIO2, DIR and NRDY bits on the fiber receiver.

Note

This function will return

AGE1439_FIBER_ERROR

when a signal is present, but the fiber

receiver is not synced to the signal. (e.g., when the wrong interface speed has been selected). The
function will also return this error if it is selected and no signal is present.

Parameter

id

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

pio1

Programmable I/O bit on the fiber receiver for user defined purposes.

pio2

Programmable I/O bit on the fiber receiver for user defined purposes.

Note

The following are FPDP signals that are accommodated in the Serial FPDP protocol. For further
information on these signals refer to ANSI/VITA 17-1998, Front Panel Data Port Specifications.

dir

returns the dir FPDP control signal.

nrdy

returns the nrdy FPDP control signal.

Return Value

AGE1439_SUCCESS indicates that a function was successful.

AGE1439_FIBER_ERROR

is returned if there is no optical energy detected on the RCV fiber

port.

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_setup” on page 112

,

“age1439_fiber_xmt_signals”

on page 118

.

Advertising
This manual is related to the following products: