Agilent Technologies E4406A VSA Satellite Radio User Manual


 
128 Chapter 3
Programming Examples
Types of Examples
Types of Examples
This section includes examples of how to program the instrument using
the instrument SCPI programming commands. Most of the examples
are written for a PC, using GPIB. They are written in C using the
Agilent VISA transition library. The VISA transition library must be
installed and the GPIB card configured. The Agilent I/O libraries
contain the latest VISA transition library and is available at:
www.agilent.com/iolib.
These examples are available on the Agilent Technologies E4406A
documentation CD-ROM. They are also available at the URL
http://www.agilent.com/find/vsa
The section C Programming Using VTL on page 113, includes some
basic information about using the C programming language. That
information can be used with the examples in this chapter to create
your own measurement routines.
Examples are also available showing you how to program the
instrument using the VXI plug&play instrument driver that is
provided. Examples are included in the on-line documentation in the
driver itself. The driver allows you to use several different
programming languages including: VEE, LabView, C, C++, and BASIC.
The software driver can be found at the URL
http://www.agilent.com/find/vsa.
The programming examples include:
Using Markers on page 129.
Saving Binary Trace Data in an ASCII File on page 132.
Saving ASCII Trace Data in an ASCII File on page 136.
Saving and Recalling Instrument State Data on page 139.
Performing Alignments and Getting Pass/Fail Results on page
143.
Making an ACPR Measurement in cdmaOne (Option BAC) on
page 145.
Using C Programming Over Socket LAN on page 148.
Using C Programming Over Socket LAN (Windows NT) on page
168.
Using Java Programming Over Socket LAN on page 171.