312
6
Application Programs
This chapter contains several remote interface example programs to
help you develop programs for your own application. Chapter 4,
“Remote Interface Reference” starting on page 153, lists the syntax for
the SCPI (Standard Commands for Programmable Instruments)
commands available to program the function generator.
Introduction
Six example programs are included in this chapter to demonstrate
controlling the Agilent 33220A using SCPI commands. All of these
programs are written in Microsoft
®
Visual BASIC
®
6.0 and use Agilent
VISA-COM.
The BASIC programs in this chapter, and other example programs
illustrating the use of several drivers and environments, are included on
the “Agilent 33220A Product Reference CD-ROM” shipped with the
function generator. For a detailed description of these programs, refer to
the “readme” file in the “Examples” directory. The programs in this
chapter are found in the “Examples\chapter6” subdirectory.
If you want to modify the example programs, or write your own programs
and compile them, you will need to install the Agilent IO Libraries Suite
software. You can install this software from the “Agilent E2094
Automation-Ready CD-ROM” that is also provided with the 33220A.
You may have previously installed the IO Libraries Suite software that
was provided with other Agilent products (such as an Agilent GPIB card).
However, you must have Agilent IO Libraries Suite 14.0 or a later version
to support the examples that are provided on the Product Reference CD-
ROM.
Microsoft
®
and Visual BASIC
®
are U.S. registered trademarks of Microsoft Corporation.
For information on obtaining the Agilent IO Libraries Suite software, see:
www.agilent.com/find/iolib