Agilent Technologies B2201A Switch User Manual


 
Agilent B2200 User’s Guide, Edition 2 6-7
VXI plug&play Driver
Driver Functions
agb220xa_biasChanCard
This function bias-enables or disables all the output ports of the specified card.
Syntax ViStatus _VI_FUNC agb220xa_biasChanCard(ViSession vi,
ViInt16 disable_enable, ViInt16 bias_cardno);
Parameters vi Instrument handle returned from agb220xa_init( ).
disable_enable Status of the card, bias enabled or bias disabled.
0 : sets bias enabled card.
1 : sets bias disabled card.
bias_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_biasChanList
This function bias-enables or disables all the output ports specified by the
biaschan_list.
The parameter “biaschan_list” is an array of integers with each integer representing
one channel. The last number of the “biaschan_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_biasChanList(ViSession vi,
ViInt16 biaschan_disen, ViInt32_VI_FAR biaschan_list[ ] );
Parameters vi Instrument handle returned from agb220xa_init( ).
biaschan_disen Status of the port, bias enabled or bias disabled.
0 : sets bias enabled port.
1 : sets bias disabled port.
biaschan_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.