Agilent Technologies B2201A Switch User Manual


 
6-8 Agilent B2200 User’s Guide, Edition 2
VXI plug&play Driver
Driver Functions
agb220xa_biasChanList_Q
This function will query the instrument for the status, bias enabled or bias disabled,
for the channels given in the 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.
The “bias_status” parameter is an array of integers containing the return values of
the query. The “bias_status” array returned will correspond one to one with
“biaschan_list” parameter.
Syntax ViStatus _VI_FUNC agb220xa_biasChanList_Q(ViSession vi, ViInt16 bias_disen,
ViInt32_VI_FAR biaschan_list[ ], ViInt32_VI_FAR bias_status[ ] );
Parameters vi Instrument handle returned from agb220xa_init( ).
bias_disen Query type.
0 : checks if the port is the bias enabled.
1 : checks if the port is the bias disabled.
biaschan_list[ ] Channel numbers to check the status. 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.
bias_status[ ] Status of the channels given in the biaschan_list. Returned
value depends on the setting of bias_disen as shown below:
when bias_disen=0, 0 means bias disabled, 1 means enabled.
when bias_disen=1, 0 means bias enabled, 1 means disabled.