User`s manual

Visual BASIC
Language
Programs Using
Agilent SICL
These example programs are written in the Visual BASIC language for the
Agilent 82340/82341 GPIB Interface Cards using the Agilent Standard
Instrument Control Library (SICL).
The following identifies the system on which the programs are written,
shows how to compile the programs, and gives a typical example program.
System Configuration The Visual BASIC programs were developed on the following system:
Controller: HP Vectra PC
GPIB Interface Card: Agilent 82341 GPIB Interface with
Agilent SICL
Required Program: See “What’s Needed to Run the
Programs” below
Mainframe: Agilent 75000 Series C
Slot 0/Resource Manager: Agilent E1406A Command Module
Agilent E1445A Logical
Address:
80
Instrument Language: SCPI
What’s Needed to Run
the Programs
You need to include the “SICL.BAS” program file in your Visual BASIC
project to run the example programs. To add the file, be sure you have
opened a project you will be using. Then, Press Ctrl-D and enter the path
and file name or select the “Add File” menu item under the “File” menu and
select the SICL.BAS file (see the Visual BASIC documentation for more
information).
How to Run a Program You can run the example program in the Visual BASIC environment or
compile it to make an executable file. Use the appropriate menu in the
environment to compile the program (see the Visual BASIC documentation
for more information). Note that the program can only operate under
Windows®.
32 Getting Started Chapter 1