Remote Control
R&S
®
ESR
1028
User Manual 1175.7068.02 ─ 12
CALL InstrWrite (analyzer, ":SENSe1:ESPectrum:RANGe4:FREQuency:STARt 1 MHz")
CALL InstrWrite (analyzer, ":SENSe1:ESPectrum:RANGe4:FREQuency:STOP 2 MHz")
CALL InstrWrite (analyzer, ":SENSe1:ESPectrum:RANGe4:BANDwidth:RESolution
100 kHz")
CALL InstrWrite (analyzer, ":SENSe1:ESPectrum:RANGe4:FILTer:TYPE NORM")
CALL InstrWrite (analyzer, ":SENSe1:ESPectrum:RANGe4:BANDwidth:VIDeo 300 kHZ")
CALL InstrWrite (analyzer, ":SENSe1:ESPectrum:RANGe4:SWEep:TIME 50 ms")
CALL InstrWrite (analyzer, ":SENSe1:ESPectrum:RANGe4:RLEVel 10 DBM")
CALL InstrWrite (analyzer, ":SENSe1:ESPectrum:RANGe4:INPut:ATTenuation 30 DB")
CALL InstrWrite (analyzer, ":SENSe1:ESPectrum:RANGe4:LIMit:ABSolute:STARt
-40")
CALL InstrWrite (analyzer, ":SENSe1:ESPectrum:RANGe4:LIMit:ABSolute:STOP -40")
CALL InstrWrite (analyzer, ":SENSe1:ESPectrum:RANGe4:LIMit:RELative:STARt
-40")
CALL InstrWrite (analyzer, ":SENSe1:ESPectrum:RANGe4:LIMit:RELative:STOP -60")
'--------- Defining the settings of range 5 --------------------------------
CALL InstrWrite (analyzer, ":SENSe1:ESPectrum:RANGe5:FREQuency:STARt 2 MHz")
CALL InstrWrite (analyzer, ":SENSe1:ESPectrum:RANGe5:FREQuency:STOP 4 MHz")
CALL InstrWrite (analyzer, ":SENSe1:ESPectrum:RANGe5:BANDwidth:RESolution 1 MHZ")
CALL InstrWrite (analyzer, ":SENSe1:ESPectrum:RANGe5:FILTer:TYPE CFILter")
CALL InstrWrite (analyzer, ":SENSe1:ESPectrum:RANGe5:BANDwidth:VIDeo 3 MHZ")
CALL InstrWrite (analyzer, ":SENSe1:ESPectrum:RANGe5:SWEep:TIME 20 ms")
CALL InstrWrite (analyzer, ":SENSe1:ESPectrum:RANGe5:RLEVel 5 DBM")
CALL InstrWrite (analyzer, ":SENSe1:ESPectrum:RANGe5:INPut:ATTenuation 20 DB")
CALL InstrWrite (analyzer, ":SENSe1:ESPectrum:RANGe5:LIMit:ABSolute:STARt
-50")
CALL InstrWrite (analyzer, ":SENSe1:ESPectrum:RANGe5:LIMit:ABSolute:STOP -50")
CALL InstrWrite (analyzer, ":SENSe1:ESPectrum:RANGe5:LIMit:RELative:STARt -60")
CALL InstrWrite (analyzer, ":SENSe1:ESPectrum:RANGe5:LIMit:RELative:STOP -70")
'--------- Measuring -------------------------------------------------------
CALL InstrWrite (analyzer, "INIT;*WAI") 'Perform sweep, wait for sweep
'end
'--------- Reading out results ---------------------------------------------
CALL InstrWrite (analyzer, ":TRACe1:DATA? LIST")
'Query list results
CALL InstrWrite (analyzer, ":CALCulate:LIMit:FAIL?")
'Query result of limit check
CALL InstrRead(analyzer, result$)
REM ************************************************************************
11.17.13
Spurious Emissions Measurement
In the following example, the Spurious Emissions measurement is configured by defin-
ing ranges and parameters.
REM ************************************************************************
'--------- General settings of the instrument ------------------------------
CALL InstrWrite (analyzer, "*RST") 'Reset instrument
Rem After preset 4 ranges are available. Range settings can be questioned
Remote Control – Programming Examples