2-22 Agilent B1500 VXIplug&play Driver User’s Guide, Edition 3
Driver Functions
agb1500_cmdInt32_Q
Parameters vi Instrument handle returned from agb1500_init( ).
cmd_str Instrument command (cannot exceed 256 bytes in length).
size Size of result[ ] (number of items in the array).
1 to 2147483647.
result[ ] Response from instrument.
count Count of valid items in result[ ]. Returned data.
agb1500_cmdInt32_Q
This function passes the cmd_str string to the instrument. This function expects a
response that can be returned as a 32 bit integer.
Syntax ViStatus _VI_FUNC agb1500_cmdInt32_Q(ViSession vi, ViString cmd_str,
ViPInt32 result);
Parameters vi Instrument handle returned from agb1500_init( ).
cmd_str Instrument command (cannot exceed 256 bytes in length).
result Response from instrument.
agb1500_cmdReal
This function passes the cmd_str string to the instrument. This entry point passes the
string in cmd_str followed by a space and then the real in value. Note that either an
Real32 or 64 can be passed as the Real32 will be promoted.
Syntax ViStatus _VI_FUNC agb1500_cmdReal(ViSession vi, ViString cmd_str,
ViReal64 value);
Parameters vi Instrument handle returned from agb1500_init( ).
cmd_str Instrument command (cannot exceed 256 bytes in length).
value Parameter for command. -1E+300 to 1E+300.
agb1500_cmdReal64Arr_Q
This function passes the cmd_str string to the instrument. This function expects a
response that is a definite arbitrary block of 64 bit real. You specify the cmd_str and
size parameters, and get result[ ] and count.