Agb220xa_closecard_q, Agb220xa_closelist, Agb220xa_closelist_q – Agilent Technologies Agilent B2201A User Manual
Page 196

6-10
Agilent B2200 User’s Guide, Edition 4
VXIplug&play Driver
Driver Functions
agb220xa_closeCard_Q
This function will query the card for the channels closed of the specified card.
The parameter “closechan_list” contains the channel numbers returned by the
instrument. This will be an array of integers terminated by “zero” to identify the end
of the list. Array of enough length should be passed to the function.
Syntax
ViStatus _VI_FUNC agb220xa_closeCard_Q(ViSession vi, ViInt16 close_card,
ViInt32_VI_FAR closechan_list[ ] );
Parameters
vi
Instrument handle returned from agb220xa_init( ).
close_card
Card number. 1 (card 1), 2 (card 2), 3 (card 3), or 4 (card 4) in
the normal configuration mode, or 0 (all card in the auto
configuration mode). For the configuration mode, see
agb220xa_func.
closechan_list[ ] Channels closed of the specified card.
agb220xa_closeList
This function will connect the input ports to the output ports specified by the
channel list.
The parameter “closechan_list” is an array of integers with each integer representing
one channel. The last number of the “closechan_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_closeList(ViSession vi,
ViInt32_VI_FAR closechan_list[ ] );
Parameters
vi
Instrument handle returned from agb220xa_init( ).
closechan_list[ ] Channel numbers to connect. 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.
agb220xa_closeList_Q
This function will query the instrument for the channels closed given in the
“closechan_list”.