![Rohde & Schwarz R&S FSP Series Operating Manual Download Page 745](http://html.mh-extra.com/html/rohde-and-schwarz/rands-fsp-series/rands-fsp-series_operating-manual_1477864745.webp)
Operating Manual 1164.4556.12 - 06
7.11
R&S FSP
Remote Control – Programming Examples
More Complex Programming Examples
7.3.1.4
Measuring the AM Modulation Depth
The example below is based on an AM-modulated signal at 100 MHz with the fol-
lowing characteristics:
• Carrier signal level: –30 dBm
• AF frequency: 100 kHz
• Modulation depth: 50%
The default setting of the R&S FSP can be used for the measurements described
below (SetupInstrument).
REM ************************************************************************
Public Sub AMMod()
result$ = Space$(100)
CALL SetupInstrument
'Default setting
'--------- Peak search --------------------------------------
status = viWrite(analyzer, "INIT:CONT OFF", 13, retCnt)
'Single sweep
status = viWrite(analyzer, "INIT;*WAI", 9, retCnt)
'Perform sweep with sync
status = viWrite(analyzer, "CALC:MARK:PEXC 6DB", 18, retCnt)
'Peak excursion
status = viWrite(analyzer, "CALC:MARK:STAT ON", 17, retCnt)
'Marker 1 on
status = viWrite(analyzer, "CALC:MARK:TRAC 1", 16, retCnt)
'Assign marker1 to trace1
'--------- Measure modulation depth--------------------------
status = viWrite(analyzer, "CALC:MARK:MAX;FUNC:MDEP ON", 26, retCnt)
'Marker to Peak;
status = viWrite(analyzer, "CALC:MARK:FUNC:MDEP:RES?", 24, retCnt)
'Measure mod. depth
status = viRead(analyzer, result$, 100, retCnt)
'Read out result
'--------- Read out result ----------------------------------
Print "AM Mod Depth [%]: "; result$
END SUB
REM ************************************************************************
Summary of Contents for R&S FSP Series
Page 1: ...R S FSP Spectrum Analyzer Operating Manual 1164 4556 12 06 Test Measurement Operating Manual ...
Page 24: ...R S FSP Putting into Operation 1 2 Operating Manual 1164 4556 12 06 ...
Page 72: ...R S FSP Manual Operation 3 2 Operating Manual 1164 4556 12 06 ...
Page 793: ...R S FSP Index Operating Manual 1164 4556 12 06 4 11 ...
Page 794: ...R S FSP 4 12 Operating Manual 1164 4556 12 06 ...
Page 795: ...Operating Manual 1164 4556 12 06 4 13 R S FSP ...
Page 796: ...R S FSP 4 14 Operating Manual 1164 4556 12 06 ...