beautypg.com

Agb220xa_close, Agb220xa_closecard_q, Agb220xa_close -10 agb220xa_closecard_q -10 – Agilent Technologies B2201A User Manual

Page 196

background image

6-10

Agilent B2200 User’s Guide, Edition 2

VXI plug&play Driver
Driver Functions

agb220xa_close

This function terminates the software connection to the instrument and deallocates
system resources. It is generally a good programming habit to close the instrument
handle when the program is done using the instrument.

Syntax

ViStatus _VI_FUNC agb220xa_close(ViSession vi);

Parameters

vi

Instrument handle returned from agb220xa_init( ).

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.

This manual is related to the following products: