
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 ************************************************************************
Содержание R&S FSP Series
Страница 1: ...R S FSP Spectrum Analyzer Operating Manual 1164 4556 12 06 Test Measurement Operating Manual ...
Страница 24: ...R S FSP Putting into Operation 1 2 Operating Manual 1164 4556 12 06 ...
Страница 72: ...R S FSP Manual Operation 3 2 Operating Manual 1164 4556 12 06 ...
Страница 362: ...R S FSP Instrument Functions Trigger Port Option R S FSP B28 4 290 Operating Manual 1164 4556 12 06 ...
Страница 764: ...R S FSP Remote Control Programming Examples More Complex Programming Examples 7 30 Operating Manual 1164 4556 12 06 ...
Страница 793: ...R S FSP Index Operating Manual 1164 4556 12 06 4 11 ...
Страница 794: ...R S FSP 4 12 Operating Manual 1164 4556 12 06 ...
Страница 795: ...Operating Manual 1164 4556 12 06 4 13 R S FSP ...
Страница 796: ...R S FSP 4 14 Operating Manual 1164 4556 12 06 ...