Remote Control
R&S
®
ESRP
982
User Manual 1175.7445.02 ─ 08
'--------- Configure R&S FSV for OBW for GSM------------------------------
CALL InstrWrite (analyzer, "FREQ:CENT 935.2 MHz")
'Set frequency
CALL InstrWrite (analyzer, "CALC:MARK:FUNC:POW:SEL OBW")
'OBW measurement on
CALL InstrWrite (analyzer, "SENS:POW:ACH:BAND 200 KHZ")
'Channel bandw. 200 kHz
CALL InstrWrite (analyzer, "SENS:POW:BWID 95PCT")
'Percentage of power
CALL InstrWrite (analyzer, "SENS:POW:ACH:PRES OBW")
'Set frequency and optimize reference level
CALL InstrWrite (analyzer, "SENS:POW:ACH:PRES:RLEV")
CALL InstrWrite (analyzer, "SENS:POW:NCOR OFF")
'Noise correction
'OFF: switch off
'ON: switch on
'--------- Perform measurement and query results ---------------------------
CALL InstrWrite (analyzer, "INIT;*WAI") 'Perform sweep with sync
CALL InstrWrite (analyzer, "CALC:MARK:FUNC:POW:RES? OBW")
'Query result
CALL InstrRead(analyzer, result$)
Print result$
END SUB
REM ************************************************************************
11.17.6
Time Domain Power Measurement
In the following example, the mean carrier power of a signal with 300 kHz bandwidth at
100 MHz is to be determined. In addition, the peak power, the rms value and the stan-
dard deviation are measured. To do this, the time-domain-power measurement func-
tions are used.
REM ************************************************************************
Public Sub TimeDomainPower()
result$ = Space$(100)
'--------- R&S FSV default setting ----------------------------------------
CALL SetupStatusReg 'Set status register
CALL InstrWrite (analyzer, "*RST") 'Reset instrument
CALL InstrWrite (analyzer, "INIT:CONT OFF") 'Single sweep
CALL InstrWrite (analyzer, "SYST:DISP:UPD ON")
'ON: display on
'OFF: off
'--------- Configure R&S FSV for time domain power measurement ------------
CALL InstrWrite (analyzer, "FREQ:CENT 100 MHz;SPAN 0Hz")
'Set frequency
CALL InstrWrite (analyzer, "BAND:RES 300 kHz")
'Resolution bandwidth
CALL InstrWrite (analyzer, "SWE:TIME 200US") 'Sweep time
CALL InstrWrite (analyzer, "CALC:MARK:FUNC:SUMM:PPE ON")
Remote Control – Programming Examples