VXIplug&play Driver

Driver Functions

hpe5250a_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 hpe5250a_close(ViSession vi);

Parameters

vi

Instrument handle returned from hpe5250a_init( ).

hpe5250a_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 hpe5250a_closeCard_Q(ViSession vi, ViInt16 close_card,

 

ViInt32 _VI_FAR closechan_list[ ] );

Parameters

vi

Instrument handle returned from hpe5250a_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 automatic

 

 

configuration mode). For the configuration mode, see

 

 

hpe5250a_func.

closechan_list[ ] Channels closed of the specified card.

8-10

Agilent E5250A User’s Guide, Edition 9

Page 234
Image 234
Agilent Technologies Agilent E5250A manual Hpe5250acloseCardQ, Closecard