VXI plug&play Driver

Driver Functions

agb220xa_groundChanCard

This function ground-enables or disables all the output ports of the specified card.

Syntax

ViStatus _VI_FUNC agb220xa_groundChanCard(ViSession vi,

 

ViInt16 disable_enable, ViInt16 gnd_cardno);

Parameters

vi

Instrument handle returned from agb220xa_init( ).

 

disable_enable

Status of the card, ground enabled or ground disabled.

 

 

0 : sets ground enabled card.

 

 

1 : sets ground disabled card.

 

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

agb220xa_groundChanList

This function ground-enables or disables all the output ports specified by the gndchan_list.

The parameter “gndchan_list” is an array of integers with each integer representing one channel. The last number of the “gndchan_list” should be “0” (numeric zero) to identify the end of the list. The maximum number of channels that can be specified by the list is 100.

Syntax

ViStatus _VI_FUNC agb220xa_groundChanList(ViSession vi,

 

ViInt16 gndchan_disen, ViInt32_VI_FAR gndchan_list[ ] );

Parameters

vi

Instrument handle returned from agb220xa_init( ).

 

gndchan_disen

Status of the port, ground enabled or ground disabled.

 

 

0 : sets ground enabled port.

 

 

1 : sets ground disabled port.

 

gndchan_list[ ]

Channel numbers. 5 digits integer. ABCDE. where A: card

 

 

number, BC: input port number, DE: output port number.

 

 

Top zero(s) can be ignored. For example, if A=0, BC=01, and

 

 

DE=01, channel number should be 101 instead of 00101.

6-24

Agilent B2200 User’s Guide, Edition 2

Page 210
Image 210
Agilent Technologies B2201A manual Agb220xagroundChanCard, Agb220xagroundChanList, Gndcardno, Gndchandisen, Gndchanlist