EasyManuals Logo

Agilent Technologies 4156C User Manual

Agilent Technologies 4156C
312 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #35 background imageLoading...
Page #35 background image
Agilent 4155C/4156C VXIplug&play Driver User’s Guide, Edition 4 2-17
Driver Function Reference
hp4156b_cmd
hp4156b_cmd
This function passes the cmd_str string to the instrument. Must be a NULL
terminated C string.
Syntax ViStatus _VI_FUNC hp4156b_cmd(ViSession vi, ViString cmd_str);
Parameters vi Instrument handle returned from hp4156b_init( ).
cmd_str Instrument command (cannot exceed 256 bytes in length).
Example
ViSession vi;
ViStatus ret;
ret = hp4156b_cmd(vi, "AB"); /* sends the AB command */
hp4156b_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 hp4156b_cmdData_Q(ViSession vi, ViString cmd_str,
ViInt32 size, ViChar _VI_FAR result[ ]);
Parameters vi Instrument handle returned from hp4156b_init( ).
cmd_str Instrument command (cannot exceed 256 bytes in length).
size Length of result in bytes. 2 to 32767.
result[ ] Response from instrument.
hp4156b_cmdInt
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 integer in value. Note that either
an Int16 or 32 can be passed as the Int16 will be promoted.
Syntax ViStatus _VI_FUNC hp4156b_cmdInt(ViSession vi, ViString cmd_str,
ViInt32 value);
Parameters vi Instrument handle returned from hp4156b_init( ).
cmd_str Instrument command (cannot exceed 256 bytes in length).

Table of Contents

Other manuals for Agilent Technologies 4156C

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Agilent Technologies 4156C and is the answer not in the manual?

Agilent Technologies 4156C Specifications

General IconGeneral
BrandAgilent Technologies
Model4156C
CategoryMeasuring Instruments
LanguageEnglish

Related product manuals