
Remote Commands
R&S
®
FSW
970
User Manual 1173.9411.02 ─ 19
INIT;*WAI
//Performs a measurement and waits for it to end
Example: Using a Fixed Reference Marker
This example demonstrates how to configure and use reference markers in a basic
spectrum measurement in a remote environment. It assumes that the basic frequency
sweep described in
"Basic Frequency Sweep Measurement for Marker Function Exam-
on page 969 has been performed and thus does not begin by presetting the
instrument.
//-----------Configuring the reference marker ------------
//Activate a fixed reference marker. It is set to the current maximum of trace 1.
CALC:DELT:FUNC:FIX ON
//Set the reference frequency to 128 MHz.
CALC:DELT:FUNC:FIX:RPO:X 128 MHZ
//Set the reference level to +30 dBm.
CALC:DELT:FUNC:FIX:RPO:Y 30 DBM
//Use the fixed reference marker as a reference for deltamarker 2
CALC:DELT2:MREF FIX
//Reset the reference marker to the current maximum of trace 1
CALC:DELT:FUNC:FIX:RPO:MAX
//Query the new position of the reference marker
CALC:DELT:FUNC:FIX:RPO:X?
CALC:DELT:FUNC:FIX:RPO:Y?
Example: Obtaining a Marker Peak List
This example demonstrates how to obtain a marker peak list in a basic spectrum mea-
surement in a remote environment. It assumes that the basic frequency sweep descri-
bed in
"Basic Frequency Sweep Measurement for Marker Function Examples"
on page 969 has been performed and thus does not begin by presetting the instru-
ment.
In this example, the peak search is restricted to the frequency range of 50 MHz to 150
MHz. The top 5 power levels with a peak excursion of 10dB and a minimum of -100
dBm are to be determined and displayed with their marker numbers. The results are
sorted by frequency values. The resulting peak list is then exported to a file.
//----------- Configuring the peak search ------------
CALC:MARK:X:SLIM ON
CALC:MARK:X:SLIM:LEFT 50MHz
CALC:MARK:X:SLIM:RIGH 150MHz
CALC:MARK:PEXC 10DB
CALC:THR -100DBM
CALC:THR:STAT ON
CALC:MARK:FUNC:FPE:STAT ON
CALC:MARK:FUNC:FPE:LIST:SIZE 5
CALC:MARK:FUNC:FPE:SORT X
Analyzing Measurements (Basics)