Remote Commands for Analog Demodulation Measurements
R&S
®
FSW-K7
369
User Manual 1173.9240.02 ─ 23
MMEM:STOR:TYPE CHAN
MMEM:STOR:STAT 1,'LimitLines_FM1_FM3'
Example: Performing a Limit Check
This example demonstrates how to perform a limit check during a basic frequency
sweep measurement in a remote environment. The limit lines configured in
on page 367 are assumed to exist and be active.
//--------------Preparing the instrument ---------------------
*RST
//Resets the instrument
INIT:CONT OFF
//Selects single sweep mode.
//--------------Configuring the measurement -------------
FREQ:CENT 100MHz
//Defines the center frequency
FREQ:SPAN 200MHz
//Sets the span to 100 MHz on either side of the center frequency.
SENS:SWE:COUN 10
//Defines 10 sweeps to be performed in each measurement.
DISP:TRAC1:Y:RLEV 0dBm
//Sets the reference level to 0 dBm.
TRIG:SOUR IFP
TRIG:LEV:IFP -10dBm
//Defines triggering when the second intermediate frequency rises to a level
//of -10 dBm.
//--------------Configuring the Trace--------------------------
DISP:TRAC2 ON
DISP:TRAC2:MODE AVER
DISP:TRAC3 ON
DISP:TRAC3:MODE MAXH
//Configures 3 traces: 1 (default): clear/write; 2: average; 3: max hold
//------------- Configuring the limit check -------------------
MMEM:LOAD:TYPE REPL
MMEM:LOAD:STAT 1,'LimitLines_FM1_FM3'
//Loads the limit lines stored in 'LimitLines_FM1_FM3'
CALC:LIM1:NAME 'FM1'
CALC:LIM1:UPP:STAT ON
//Activates upper limit FM1 as line 1.
CALC:LIM3:NAME 'FM3'
CALC:LIM3:LOW:STAT ON
//Activates lower limit line FM3 as line 3.
CALC:LIM:ACT?
//Queries the names of all active limit lines
//Result: 'FM1,FM3'
CALC:LIM1:TRAC3:CHEC ON
//Activates the upper limit to be checked against trace3 (maxhold trace)
Analyzing Results