
Remote Commands
R&S
®
FSW
967
User Manual 1173.9411.02 ─ 19
11.8.3.15
Programming Examples for Using Markers and Marker Functions
Various programming examples on how to use markers and the special marker func-
tions are provided here.
The use of spectrogram markers is demonstrated in
chapter 11.8.2.6, "Programming
Example: Configuring a Spectrogram"
....................................................................................... 967
Example: Marker Search in Spectrograms
........................................................... 968
Basic Frequency Sweep Measurement for Marker Function Examples
Example: Using a Fixed Reference Marker
.......................................................... 970
Example: Obtaining a Marker Peak List
................................................................970
Example: Measuring Noise Density
...................................................................... 971
Example: Measuring Phase Noise
........................................................................971
Example: Measuring the Power in a Channel Using Band Power Markers
Example: Measuring Characteristic Bandwidths (Using the n dB Down Marker)
Examples: Demodulating Marker Values and Providing Audio Output
Example: Performing a Highly Accurate Frequency Measurement Using the Signal
Count Marker
Example: Basic Markers
This example demonstrates how to configure and define markers for a basic spectrum
measurement in a remote environment. It assumes that the basic frequency sweep
described in
chapter 11.15.1, "Programming Example: Performing a Basic Frequency
on page 1088 has been performed and thus does not begin by presetting the
instrument.
//--------------Configuring marker behavior ------------------
DISP:MTAB ON
//Marker information is always displayed in a separate table.
CALC:MARK:X:SSIZ STAN
//The marker moves from one pixel to the next instead of sweep points in manual op.
CALC:MARK:PEXC 6dB
//Defines a peak excursion of 6 dB.
CALC:MARK:X:SLIM ON
CALC:MARK:X:SLIM:LEFT 50MHz
CALC:MARK:X:SLIM:RIGH 150MHz
//Restricts the search area for peaks to the frequencies between 50 and 150 MHz.
CALC:THR -100dBm
CALC:THR:STAT ON
//Configures a threshold level for peak searches at -100 dBm.
//--------------Defining and positioning markers -------------
CALC:MARK1 ON
//Activates marker 1 and sets it to the peak of trace 1.
CALC:MARK2:TRAC 2
Analyzing Measurements (Basics)