8-12 Agilent E5250A User’s Guide, Edition 9
VXIplug&play Driver
Driver Functions
hpe5250a_closeList_Q
This function will query the instrument for the channels closed given in the
’closechan_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.
The ’close_status’ parameter is an array of integers containing the return values of
the query. The ’close_status’ array returned will correspond one to one with
’closechan_list’ parameter.
Syntax ViStatus _VI_FUNC hpe5250a_closeList_Q(ViSession vi,
ViInt32_VI_FARclosechan_list[ ], ViInt32 _VI_FAR close_status[ ] );
Parameters vi Instrument handle returned from hpe5250a_init( ).
closechan_list[ ] Channel numbers t o know the close status. 5 digits inte ger.
ABCDE. where A: card number, BC: input port number, DE:
output port number. Top zero(s) can be ignored. For ex ample, if
A=0, BC=01, and DE=01, channel number should be 101
instead of 00101.
close_status[ ] Status of the channels given in the closechan_list.
0 (opened) or 1 (closed).
hpe5250a_cmd
This function passes the cmd_str string to the instrument. Must be a NULL
terminated C string.
Syntax ViStatus _VI_FUNC hpe5250a_cmd(ViSession vi, ViString cmd_str);
Parameters vi Instrument handle returned from hpe5250a_init( ).
cmd_str Instrument command (cannot exceed 256 bytes in length).