VXI plug&play Driver

Driver Functions

agb220xa_groundPort

This function will select which input port is the ground port on the specified card. For each card, you can specify the same or different ground port.

Syntax

ViStatus _VI_FUNC agb220xa_groundPort(ViSession vi, ViInt16 gport_cardno,

 

ViInt16 gnd_port);

 

Parameters

vi

Instrument handle returned from agb220xa_init( ).

 

gport_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.

 

gnd_port

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

 

 

port 1 to input port 14).

 

The input ground port and a ground enabled input port cannot be assigned to the

 

same input port.

 

 

If the ground input port and a couple port have been assigned to the same input port,

 

the ground mode and the couple mode cannot be used in parallel.

agb220xa_groundState

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

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

Syntax

ViStatus _VI_FUNC agb220xa_groundState(ViSession vi, ViInt16 gstate_cardno,

 

ViInt16 state);

 

Parameters

vi

Instrument handle returned from agb220xa_init( ).

 

gstate_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

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

6-26

Agilent B2200 User’s Guide, Edition 2

Page 212
Image 212
Agilent Technologies B2201A manual Agb220xagroundPort, Agb220xagroundState, Gportcardno, Gndport, Gstatecardno