beautypg.com

Agb220xa_cmdreal64_q, Agb220xa_cmdstring_q, Agb220xa_cmdreal64_q -17 agb220xa_cmdstring_q -17 – Agilent Technologies B2201A User Manual

Page 203

background image

Agilent B2200 User’s Guide, Edition 2

6-17

VXI plug&play Driver

Driver Functions

agb220xa_cmdReal64_Q

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

Syntax

ViStatus _VI_FUNC agb220xa_cmdReal64_Q(ViSession vi, ViString cmd_str,
ViPReal64 result);

Parameters

vi

Instrument handle returned from agb220xa_init( ).

cmd_str

Instrument command (cannot exceed 256 bytes in length).

result

Response from instrument.

agb220xa_cmdString_Q

This function passes the cmd_str string to the instrument. This entry point will wait
for a response which must be a string (character data). You specify the cmd_str and
size parameters, and get result[ ].

Syntax

ViStatus _VI_FUNC agb220xa_cmdString_Q(ViSession vi, ViString cmd_str,
ViInt32 size, ViChar_VI_FAR result[ ] );

Parameters

vi

Instrument handle returned from agb220xa_init( ).

cmd_str

Instrument command (cannot exceed 256 bytes in length).

size

Length of result in bytes. 2 to 32767.

result[ ]

Response from instrument.

This manual is related to the following products: