![Rohde & Schwarz ESW Series User Manual Download Page 578](http://html.mh-extra.com/html/rohde-and-schwarz/esw-series/esw-series_user-manual_1477816578.webp)
Remote Commands in the Receiver Application
R&S
®
ESW
578
User Manual 1177.6298.02 ─ 08
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)
CALC:LIM3:TRAC2:CHEC ON
//Activates the upper limit to be checked against trace2 (average trace)
CALC:LIM:CLE
//Clears the previous limit check results
//------------- Performing the measurement---------------------
INIT;*WAI
//Initiates a new measurement and waits until the last sweep has finished.
//-------------- Retrieving limit check results----------------------------
CALC:LIM1:FAIL?
//Queries the result of the upper limit line check
Analysis