Hpe5250a_cmdint32arr_q, Hpe5250a_cmdint32_q – Agilent Technologies Agilent E5250A User Manual

Page 239

Advertising
background image

Agilent E5250A User’s Guide, Edition 11

8-15

VXIplug&play Driver

Driver Functions

hpe5250a_cmdInt32Arr_Q

This function passes the cmd_str string to the instrument. This command expects a
response that is a definite arbitrary block of 32 bit integers. You specify the cmd_str
and size parameters, and get result[ ] and count.

Syntax

ViStatus _VI_FUNC hpe5250a_cmdInt32Arr_Q(ViSession vi, ViString cmd_str,
ViInt32 size, ViInt32 _VI_FAR result[ ], ViPInt32 count);

Parameters

vi

Instrument handle returned from hpe5250a_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[ ].

hpe5250a_cmdInt32_Q

This function passes the cmd_str string to the instrument. This command expects a
response that can be returned as a 32 bit integer.

Syntax

ViStatus _VI_FUNC hpe5250a_cmdInt32_Q(ViSession vi, ViString cmd_str,
ViPInt32 result);

Parameters

vi

Instrument handle returned from hpe5250a_init( ).

cmd_str

Instrument command (cannot exceed 256 bytes in length).

result

Response from instrument.

Advertising