Agilent E1439 Programmer's Reference

Functions listed alphabetically

age1439_fiber_error_get

This function returns the value of the fiber interface error register when the AGE1439_STATUS_ FIBER_ERROR bit is set.

VXIplug&play Syntax

#include "age1439".h

ViStatus age1439_fiber_error_get(ViSession id, ViInt16 fiberErrorPtr);

Description

age1439_fiber_error_get returns the fiber interface errors.

 

Parameter

id

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

fiberErrorPtr

points to the value of the fiber interface error. The bits are defined below:

Status Bit

Definition

Numeric

Description

Value

 

 

 

 

 

 

 

9

FI_ERR_UNLOCKED

512

Indicates that the internal receive or transmit

 

 

 

clock is not properly locked. This could be

 

 

 

caused by a poor quality receive signal.

8

TX_ERR_OVERRUN

256

Indicates that data transmission is not

 

 

 

sustainable because the raw data bandwidth

 

 

 

has exceeded the available fiber capacity.

7

RX_ERR_FIFO_OVERFLOW

128

Indicates that data arriving on the fiber receive

 

 

 

port has been lost.

6

RX_ERR_SYNC_LOST

64

Indicates that the receiver did not detect the

 

 

 

synchronization signal.

5

RX_ERR_DISPARITY

32

Indicates an invalid stream of bits was

 

 

 

detected in the received data.

4

RX_ERR_CODE_VIOLATION

16

Indicates an invalid stream of bits was

 

 

 

detected in the received data.

3

RX_ERR_ALIGNMENT

8

Indicates an invalid stream of bits was

 

 

 

detected in the received data.

2

RX_ERR_BEGIN_DISPARITY

4

Indicates an invalid stream of bits was

 

 

 

detected in the received data.

1

RX_ERR_CRC

2

Indicates a cyclic redundancy check error has

 

 

 

occurred on the receiver of the fiber interface.

0

RX_ERR_SIGNAL LOST

1

Indicates the signal is no longer being received

 

 

 

on the fiber interface.

108

Page 118
Image 118
Agilent Technologies E1439 manual Age1439fibererrorget, Definition Numeric Description Value