107
4 Programming Examples
This chapter provides documentation on programming examples for
Spectrum Analyzer mode and the 89601X Signal Analyzer
measurement application. The actual files are provided in the analyzer
as well as on the Documentation CD ROM.
The files are located in the analyzer here:
C:\ProgramFiles\Agilent\SignalAnalysis\Infrastructure\Help
\progexamples
• The programming examples were written for use on an IBM
compatible PC.
• The programming examples use C, Visual Basic, or VEE
programming languages.
• The programming examples use VISA interfaces (GPIB, LAN, or
USB).
• Some of the examples use the IVI-COM drivers.
Interchangeable Virtual Instruments COM (IVI-COM) drivers:
Develop system automation software easily and quickly. IVI-COM
drivers take full advantage of application development
environments such as Visual Studio using Visual Basic, C# or Visual
C++ as well as Agilent's Test and Measurement Toolkit. You can now
develop application programs that are portable across computer
platforms and I/O interfaces. With IVI-COM drivers you do not need
to have in depth test instrument knowledge to develop sophisticated
measurement software. IVI-COM drivers provide a compatible
interface to all. COM environments. The IVI-COM software drivers
can be found at the URL:
http://www.agilent.com/find/ivi-com
• Most of the examples are written in C, Visual Basic, VEE, or
LabVIew using the Agilent VISA transition library.
The Agilent I/O Libraries Suite must be installed and the GPIB card,
USB to GPIB interface, or Lan interface USB interface configured.
The latest Agilent I/O Libraries Suite is available:
www.agilent.com/find/iolib
• The STATus subsystem of commands is used to monitor and query
hardware status. These hardware registers monitor various events
and conditions in the instrument. Details about the use of these
commands and registers can be found in the manual/help in the
Utility Functions section on the STATus subsystem.
Visual Basic is a registered trademark of Microsoft Corporation.