User`s guide
242
Application Programs
This chapter contains several example programs to help you develop
programs for your specific measurement application. See the Agilent
34970A/34972A Programmer’s Reference Help for details on the SCPI
language for the instrument.
The examples in this chapter have been tested on a PC running on
Windows 95. The examples are written for use over the GPIB interface
and require a VISA (Virtual Instrument Software Architecture) library
for use with your GPIB interface card in your PC. You will want to make
sure that you have the visa32.dll file in your c:\windows\system
directory for the examples to work properly.
These programs were written for the 34970A, but other than the
connectivity, the principles and code should generally apply to the
34972A as well.
For programs specific to the 34972A, see the product page at
www.agilent.com/find/34972A
Note: The GPIB (IEEE-488) address is set to “09” when the instrument is
shipped from the factory. The examples in this chapter assume an GPIB
address of 09.
34970A Refresh UG.book Page 242 Wednesday, February 17, 2010 12:34 PM