Remote Control
R&S
®
FSPN
449
User Manual 1179.4363.02 ─ 01
1
FAIL
Example:
INIT;*WAI
Starts a new sweep and waits for its end.
CALC2:LIM3:FAIL?
Queries the result of the check for limit line 3 in window 2.
Usage:
Query only
11.7.5.4
Programming Example: Using Limit Lines
//-------------- Creating and editing limit lines -----------------------
//Select or create a limit line with index '1'
CALC:LIM1:NAME 'FM1'
//Define 5 horizontal definition points for limit line 1
calc:lim:cont 100hz,1khz,10khz,100khz,1000khz
//Select an absolute vertical scale for limit line 1
CALC:LIM1:UPP:MODE ABS
//Select the unit dBc_Hz for limit line 1
CALC:LIM1:UNIT DBC_HZ
//Define 5 vertical definition points for limit line 1
CALC:LIM1:UPP -60,-80,-90,-100,-110
//Shift the limit line 1 by -10 dB
CALC:LIM1:UPP:SHIF -10DB
//------------- Configuring a limit check -------------------
//Activate upper limit FM1 as line 1
CALC:LIM1:UPP:STAT ON
//Activate the limit to be checked against trace 1 and 2
CALC:LIM1:TRAC1:CHEC ON
CALC:LIM1:TRAC2:CHEC ON
//Query the names of all active limit lines
CALC:LIM:ACT?
//Result: 'FM1'
//Clear the previous limit check results
CALC:LIM:CLE
//------------- Performing the measurement---------------------
//Initiate a new measurement and wait until the last sweep has finished
INIT;*WAI
//-------------- Retrieving limit check results----------------------------
//Query the result of the limit line check
CALC:LIM1:FAIL?
Common Analysis and Display Functions