EasyManuals Logo

Agilent Technologies 75000 Series B User Manual

Agilent Technologies 75000 Series B
78 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 #38 background imageLoading...
Page #38 background image
From the Windows Interface
Select the C/C+ + Windows environment and make sure the program to be compiled and the appropriate
libraries are in a project file. Then do the following:
For Borland compilers, select:
Project | Open Project to open the project, then
Compile | Build All to compile the program
For Microsoft compilers used in Windows, type:
Project | Open to open the project, then
Project | Re-build All to compile the program
Sending SCPI Commands and Receiving Data
The following shows how to send SCPI commands and receive data using several different functions. To do
this, open the communication path between Visual C/C+ + and the instrument. The following shows how to
open the path, and send and receive data.
Open Communication Path
Use the iopen function to open the communication path between the instrument and Visual C/C+ + . The
command requires the complete GPIB address.
Sending SCPI Commands
The following shows two ways to send SCPI commands. One way uses the iprintf function from the Agilent
Standard Instrument Library to send the commands as formatted data to the instrument. The other way uses
the
iwrite function to send the commands in a block of data.
Use the
iwrite function to send SCPI commands that will not change and use the iprintf function to send
SCPI commands where the parameters may change. The format for the
iprintf command are the same format
used by C/C+ + (e.g., %s, %i, %f, etc.).
Open the I/O Session
addr = iopen("hpib7,9,0");
Session Identifier variable
Opens I/O Session
I/O Address (i.e., GPIB Address)
I/O Interface (e.g., GPIB Card)
2-6 Sending SCPI Commands

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Agilent Technologies 75000 Series B and is the answer not in the manual?

Agilent Technologies 75000 Series B Specifications

General IconGeneral
BrandAgilent Technologies
Model75000 Series B
CategoryControl Unit
LanguageEnglish

Related product manuals