2-12
Agilent 4155B/4156B VXIplug&play Driver User’s Guide, Edition 4
Driver Functions
hp4156b_cmdInt16Arr_Q
hp4156b_cmdInt16Arr_Q
This function passes the cmd_str string to the instrument. This command expects a
response that is a definite arbitrary block of 16 bit integers. You specify the cmd_str
and size parameters, and get result[ ] and count.
Syntax
ViStatus _VI_FUNC hp4156b_cmdInt16Arr_Q(ViSession vi, ViString cmd_str,
ViInt32 size, ViInt16 _VI_FAR result[ ], ViPInt32 count);
Parameters
vi
Instrument handle returned from hp4156b_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[ ].
hp4156b_cmdInt16_Q
This function passes the cmd_str string to the instrument. This command expects a
response that can be returned as a 16 bit integer.
Syntax
ViStatus _VI_FUNC hp4156b_cmdInt16_Q(ViSession vi, ViString cmd_str,
ViPInt16 result);
Parameters
vi
Instrument handle returned from hp4156b_init( ).
cmd_str
Instrument command (cannot exceed 256 bytes in length).
result
Response from instrument.