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 #37 background imageLoading...
Page #37 background image
Using C/C+ + and Agilent SICL
The following shows how to use the Visual C/C+ + program language with the Agilent Standard Instrument
Control Library (SICL) and the Agilent 82335, Agilent 82340, or Agilent 82341 GPIB Interface Card. Both
the GPIB Card and SICL are used in a PC type computer under Microsoft® Windows or Windows NT.
The Agilent Standard Instrument Control Library provides the functions to send the SCPI commands that
control instrument operation. To send a SCPI command, the appropriate function requires the GPIB address
of the instrument and the SCPI command. To receive data from the mainframe, the appropriate function
requires the GPIB address and the returned data format. To send commands and receive data is a multiple
step process, as follows:
1. SICL first opens an I/O session between C/C+ + and the mainframe.
2. Send the commands and return the data to and from the mainframe.
3. Close the the I/O session between C/C+ + and the mainframe.
4. If using Microsoft® Windows, cleanup SICL (not needed for Windows NT).
Typical functions are as follows (refer to the SICL Manual for other commands):
Whats Needed
You need the the following libraries and header files. These are supplied with SICL.
msapp16.lib - for Microsof Visual C and C+ +
bcapp16.lib - Borland C and C+ +
sicl16.lib
sicl.h
How to Run a Program
To run a program, first compile and link the program to make an executable file using the Large memory
model. You can compile from the command line or the Windows interface. The two methods are:
From the Command Line
Make sure the program to be compiled and the appropriate libraries are in a project file. Do this in the
C/C+ + environment. Then do the following:
For Borland compilers, type:
MAKE < project_name> .MAK and press Enter
For Microsoft compilers used in Windows, type:
NMAKE < project_name> .MAK and press Enter
Sending SCPI Commands 2-5

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