2-56 Agilent 4155C/4156C VXIplug&play Driver User’s Guide, Edition 4
Driver Function Reference
hpe5250a_cmd
Syntax ViStatus _VI_FUNC hpe5250a_closeList_Q(ViSession vi, 
ViInt32_VI_FAR closechan_list[ ], ViInt32 _VI_FAR close_status[ ]);
Parameters vi  Instrument handle returned from hpe5250a_init( ).
closechan_list[ ]  Channel numbers to know the close 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.
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).
hpe5250a_cmdData_Q
This function passes the cmd_str string to the instrument. This entry point will wait 
for a response which may be any data. You specify the cmd_str and size parameters, 
and get result[ ].
Syntax ViStatus _VI_FUNC hpe5250a_cmdData_Q(ViSession vi, ViString cmd_str, 
ViInt32 size, ViChar _VI_FAR result[ ]);
Parameters vi  Instrument handle returned from hpe5250a_init( ).
cmd_str  Instrument command (cannot exceed 256 bytes in length).
size  Length of result in bytes. 2 to 32767.
result[ ]  Response from instrument.