Remote Control
R&S
®
ESRP
993
User Manual 1175.7445.02 ─ 08
11.17.12.1
Using Predefined Standard Wibro
In the following example, the Spectrum Emission Mask measurement is configured
using a predefined standard XML file.
REM ************************************************************************
'--------- General settings of the instrument ------------------------------
CALL InstrWrite (analyzer, "*RST") 'Reset instrument
CALL InstrWrite (analyzer, "INIT:CONT OFF") 'Switch to single sweep
CALL InstrWrite (analyzer, "INIT:IMM;*WAI") 'Make sure no sweep is running
CALL InstrWrite (analyzer, ":SENSe1:SWEep:MODE ESPectrum")
'Set measurement mode
Rem After preset 3 ranges are available where the middle one is
Rem the reference range for calculating the TX power
CALL InstrWrite (analyzer, ":SENSe1:FREQuency:CENTer 2.2 GHz")
'Center frequency 2.2 GHz
CALL InstrWrite (analyzer, ":SENSe1:DETector1 RMS")
'Set RMS detector
'--------- Setting up the gated trigger ------------------------------------
CALL InstrWrite (analyzer, ":SENSe1:SWEep:EGATe ON")
'Switch on the external gate mode
CALL InstrWrite (analyzer, ":SENSe1:SWEep:EGATe:SOURce EXTernal")
'Set enternal gate source
CALL InstrWrite (analyzer, ":SENSe1:SWEep:EGATe:HOLDoff 0s")
'Set delay time to 0 s
CALL InstrWrite (analyzer, ":SENSe1:SWEep:EGATe:LENGth 200 US")
'Set time interval
'--------- Setting the standard --------------------------------------------
CALL InstrWrite (analyzer, "SENSe1:ESPectrum:PRESet:STANdard
'WIBRO\DL\PowerClass_29_40.xml'")
'Set WiBro standard
'--------- 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.12.2
Defining 5 Ranges with all Parameters
In the following example, the Spectrum Emission Mask measurement is configured by
defining ranges and parameters.
REM ************************************************************************
'--------- General settings of the instrument ------------------------------
CALL InstrWrite (analyzer, "*RST") 'Reset instrument
Remote Control – Programming Examples