EasyManua.ls Logo

Keysight N9030A

Keysight N9030A
52 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
43
Program Samples
N9060A Spectrum Analyzer Mode Programing Samples
Poll Method for Operation Complete
SRQ Method for Operation Complete
Set and Query Relative Band Power Markers
Set Traces and Couple Markers
Function Serial Poll for Sweep Complete
Description This example demonstrates how to:
1. Modify the timeout value
2. Initiate a sweep
3. Poll the instrument to determine when the operation is complete
4. Query and report the sweep result
Language C
File name mxa_sweep.c
Function
Service Request Method (SRQ) determines when a measurement is done by waiting for SRQ, then reading the Status
Register.
Description This example demonstrates how to:
1. Define an SRQ interrupt handler
2. Set up mode and measurement parameters
3. Set the service request mask to assert SRQ when either a measurement is uncalibrated or an error message has occurred
4. Install the interrupt handler
5. Initiate a sweep
6. Wait for an SRQ interrupt
7. When an SRQ interrupt occurs, examine its source and type and report the result
8. Uninstall the interrupt handler
The STATus subsystem of commands is used to monitor and query hardware status. For details of these commands and registers,
see the section "Measurement Group of Commands" in any X-Series Help file or Users & Programmers Reference PDF.
Language C
File name mxa_srq.c
Function Relative Band Power Markers
Description This example demonstrates how to:
1. Set up a calibration signal
2. Set Markers 1 through 5 as Band Power Markers
3. Obtain the band power of Markers 2 through 5, relative to Marker 1
Language C
File name mxa_bpm.c
Function Trace Detector/Couple Markers

Table of Contents

Other manuals for Keysight N9030A

Related product manuals