Agilent Technologies

Example Programs for the E1445A

EXAMPLE PROGRAMS FOR THE HP E1445A ARBITRARY FUNCTION GENERATOR

=============
INTRODUCTION
=============

This CD has example programs for the HP E1445A Arbitrary Function Generator (AFG). All programs control the AFG using the Hewlett-Packard Interface Bus (HP-IB; also known as GPIB). 

================
CD DIRECTORIES
================

Since the programs are in different program languages using different HP-IB libraries, they are stored in different directories on this CD. Included in the directories is an index file that lists all program names with a short description of each program. The different directories are as follows.

-------------------------
Directory: VCPROG
-------------------------

This directory contains Visual C/C++ programs using the HP Standard Instrument Control Library (SICL). These programs need the HP 82340 or HP 82341 HP-IB Card (in a PC computer) to control the HP E1445A over HP-IB. When compiling, be sure to link the appropriate libraries, as follows:

C/C++ programs for Microsoft(R) Visual C/C++ - SICL16.LIB, MSAPP16.LIB 
C/C++ programs for Borland C/C++ (for Windows) - SICL16.LIB, BCAPP16.LIB 

The above libraries came with the HP Standard Instrument Control Library.

When compiling in the C/C++ Environment, be sure to add the appropriate libraries in the "make" file, if using Microsoft C/C++, or the "project" file, if using Borland C/C++.

The programs must be compiled in the "large" memory model.

Be sure to include the "sicl.h" header file in the programs. This file came with the HP Standard Instrument Control Library.

The index file that lists all programs in this directory is: VCINDEX.

-------------------------
Directory: VBPROG
-------------------------

This directory contains Visual BASIC programs using the HP Standard Instrument Control Library (SICL). These programs need the HP 82340 or HP 82341 HP-IB Card (in a PC computer) to control the HP E1445A over HP-IB. 

Be sure to add the "SICL.BAS" file in the Visual BASIC "make" file. This is needed since the example programs uses SICL sub calls which are in the "SICL.BAS" file. This file came with the HP-IB Command Library.

The index file that lists all programs in this directory is: VBINDEX.

----------------------------
Directory: BASICPGM
----------------------------

This directory contains HP BASIC programs. 

The index file that lists all programs in this directory is: BASINDEX


© Agilent 2000-2006