Agb220xa_biasstate, Agb220xa_close – Agilent Technologies Agilent B2201A User Manual

Page 195

Advertising
background image

Agilent B2200 User’s Guide, Edition 4

6-9

VXIplug&play Driver

Driver Functions

bport_cardno

Card number. 1 (card 1), 2 (card 2), 3 (card 3), 4 (card 4), or 5
(all card) in the normal configuration mode, or 0 (all card in the
auto configuration mode). For the configuration mode, see
agb220xa_func.

bias_port

Input port number to be set to the bias port. 1 to 14 (input port 1
to input port 14).

If the bias input port and a couple port have been assigned to the same input port, the
bias mode and the couple mode cannot be used in parallel.

agb220xa_biasState

This function controls the bias mode for the specified card. When bias mode is ON,
the input bias port is connected to all bias enabled output ports that are not
connected to any other input ports. Bias disabled output ports are never connected to
the input bias port when bias mode is ON.

The bias mode cannot be set to ON when the ground mode is ON.

Syntax

ViStatus _VI_FUNC agb220xa_biasState(ViSession vi, ViInt16 bstate_cardno,
ViInt16 state);

Parameters

vi

Instrument handle returned from agb220xa_init( ).

bstate_cardno

Card number. 1 (card 1), 2 (card 2), 3 (card 3), 4 (card 4), or 5
(all card) in the normal configuration mode, or 0 (all card in the
auto configuration mode). For the configuration mode, see
agb220xa_func.

state

Bias mode. 0 (OFF) or 1 (ON).

agb220xa_close

This function terminates the software connection to the instrument and deallocates
system resources. It is generally a good programming habit to close the instrument
handle when the program is done using the instrument.

Syntax

ViStatus _VI_FUNC agb220xa_close(ViSession vi);

Parameters

vi

Instrument handle returned from agb220xa_init( ).

Advertising