AFG3000 Series Arbitrary/Function Generators Reference Manual 5-1
Programming ExamplesThe following two example programs, which demonstrate methods that you can
use to control the arbitrary/function generator through the General Purpose Inter-
face Bus (GPIB), are included on the AFG3000 Series Arbitrary/Function Gener-
ators Product CD.
Example 1: Set up a Waveform Output
Example 2: Waveform Transfer and Copy
The example programs are written in Microsoft Visual Basic Version 6.0. The
programs run on Windows PC compatible systems equipped with TekVISA and a
National Instruments GPIB board with the associated drivers.
TekVISA is the Tektronix implementation of the VISA Application Programming
Interface (API). TekVISA is industry-compliant software for writing interoperable
instrument drivers in a variety of Application Development Environments (ADEs).
The example programs assume that the GPIB system recognizes the PC (external
controller) as GPIB0, and the address number of the instrument as 11.
If you use an interface other than GPIB, change the resouce name of source code.
Refer to TekVISA manual for details about resouce.