Poll Method For Operation Complete; Srq Method For Operation Complete; Set And Query Relative Band Power Markers; Set Traces And Couple Markers - Keysight N9000A Manual

Signal analyzers
Hide thumbs Also See for N9000A:
Table of Contents

Advertisement

Poll Method for Operation Complete

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

SRQ Method for Operation Complete

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 hard ware 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

Set and Query Relative Band Power Markers

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

Set Traces and Couple Markers

Function
Trace Detector/Couple Markers
N9060A Spectrum Analyzer Mode Programing Samples
43
Program Samples

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

N9038aN9010aN9030aN9020a

Table of Contents