Vlstateread, Vlstatewrite – Teledyne LeCroy Automation API for IBTrainer Software Ver.2.0 User Manual

Page 74

Advertising
background image

Classes of the C++ Interface

Methods of the IGCGenerator Class

2-52

CATC IBTrainer InfiniBand Exerciser API Reference

VLStateRead

ig_int8 VLStateRead ( IN ig_int8 VL );

Reads the current state of the virtual lane (VL). Responses are 0 for
disabled and 1 for enabled.

Current state of the virtual lane. For states and return values refer to
VLStateWrite

below.

VL

The virtual lane to be interrogated.

VLStateWrite

below

VLStateWrite

void VLStateWrite ( IN ig_int8 VL, IN ig_int8 state );

Writes the state of the virtual lane into the hardware.

None

VL

The virtual lane to be set.

state

• VLSTATE_OFF

The virtual lane is disabled.

• VLSTATE_ON

The virtual lane is enabled. Disabling a virtual lane means that no
credits are given out for this virtual lane.

VLStateRead

above

Call

Description

Return Value

Input Parameters

See also

Call

Description

Return Value

Input Parameters

See also

Advertising