Agilent Technologies X Series Programmer's Manual page 109

Signal analyzer
Hide thumbs Also See for X Series:
Table of Contents

Advertisement

This example demonstrates how to:
1. Perform an instrument sweep.
2. Poll the instrument to determine when the operation is complete.
3. Perform an instrument sweep.
File name: _Sweep.c
• Service Request Method (SRQ) determines when a measurement is
done by waiting for SRQ and reading Status Register using C++.
This example demonstrates how:
1. Set the service request mask to assert SRQ when either a
measurement is uncalibrated or an error message has occurred,
2. Initiate a sweep and wait for the SRQ interrupt,
3. Poll all instruments and report the nature of the * interrupt on
the spectrum analyzer.
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.
File name: _SRQ.C
• Relative Band Power Markers using C++
This example demonstrates how to set markers as Band Power
Markers and obtain their band power relative to another specified
marker.
File name: _BPM.c
• Trace Detector/Couple Markers using C++
This example demonstrates how to:
1. Set different types of traces (max hold, clear and write, min hold)
2. Set markers to specified traces
3. Couple markers
Note: The Spectrum Analyzer is capable of multiple simultaneous
detectors (i.e. peak detector for max hold, sample for clear and write,
and negative peak for min hold).
File name: _tracecouple.c
• Phase Noise using C++
This example demonstrates how to:
1. Remove instrument noise from the phase noise
2. Calculate the power difference between 2 traces
File name: _phasenoise.c
Chapter 4
X-Series Spectrum Analyzer Mode Programing Examples
Programming Examples
109

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Exa n9010aMxa n9020a

Table of Contents