Remote Control
R&S
®
ESRP
976
User Manual 1175.7445.02 ─ 08
END SUB
REM ************************************************************************
11.17.2.3
Measuring the AM Modulation Depth
The example below is based on an AM-modulated signal at 100 MHz with the following
characteristics:
Carrier signal level
-30 dBm
AF frequency
100 kHz
Modulation depth
50 %
The default setting of the analyzer for measurements can be used for the measure-
ments described below (SetupInstrument).
REM ************************************************************************
Public Sub AMMod()
result$ = Space$(100)
CALL SetupInstrument 'Default setting
CALL InstrWrite (analyzer, "BAND:RES 30 kHz") 'Set appropriate RBW
'--------- Peak search -----------------------------------------------------
CALL InstrWrite (analyzer, "INIT:CONT OFF") 'Single sweep
CALL InstrWrite (analyzer, "INIT;*WAI") 'Perform sweep with sync
CALL InstrWrite (analyzer, "CALC:MARK:PEXC 6 DB")
'Peak excursion
CALL InstrWrite (analyzer, "CALC:MARK:STAT ON")
'Marker 1 on
CALL InstrWrite (analyzer, "CALC:MARK:TRAC 1")
'Assign marker1 to trace1
'--------- Measure modulation depth -----------------------------------------
CALL InstrWrite (analyzer, "CALC:MARK:MAX;FUNC:MDEP ON")
'Marker to Peak;
CALL InstrWrite (analyzer, "CALC:MARK:FUNC:MDEP:RES?")
'Measure mod. depth
CALL InstrRead(analyzer, result$) 'Read out result
'--------- Read out result -------------------------------------------------
Print "AM Mod Depth [%]:";result$
END SUB
REM ************************************************************************
11.17.3
Limit Lines and Limit Test
The example below shows the definition and use of a new limit line 5 for trace 1 with
the following characteristics:
●
Upper limit line
●
Absolute x-axis in the frequency range
●
7 reference values:
Remote Control – Programming Examples