
Controlling the R&S
FSVA/FSV Remotely
R&S
®
FSVA/FSV
152
Quick Start Guide 1321.3066.02 ─ 06
Frequency Counting
The following example is based on a signal at 100 MHz with a level of -30 dBm.
Again, the instrument's default setting can be used (SetupInstrument). The pur-
pose of frequency counting is to determine the exact frequency of the signal at
100 MHz.
REM *************************************************************************
Public Sub MarkerCount()
Dim retCount as Long
CALL SetupInstrument 'Default setting
'--------- Defining signal frequency with frequency counter ----------------
CALL InstrWrite(analyzer,"INIT:CONT OFF")
'Switch to single sweep
CALL InstrWrite(analyzer,"CALC:MARK:PEXC 6DB")
'Define peak excursion
CALL InstrWrite(analyzer,"CALC:MARK:STAT ON")
'Activate marker 1
CALL InstrWrite(analyzer,"CALC:MARK:TRAC 1")
'Set marker 1 to trace 1
CALL InstrWrite(analyzer,"CALC:MARK:X 100MHz")
'Set marker 1 to 100 MHz
CALL InstrWrite(analyzer,"CALC:MARK:COUNT ON")
'Activate frequency counter
CALL InstrWrite(analyzer,"INIT;*WAI") 'Perform sweep with sync
CALL InstrWrite(analyzer,"CALC:MARK:COUNT:FREQ?")
'Query and read measured frequency
result$ = Space$(100)
CALL InstrRead(analyzer, result$, 100, retCount)
Debug.Print "Marker Count Freq: ";result$
END SUB
REM *************************************************************************
Working with a Fixed Reference Point
The following example is based on a signal at 100 MHz with a level of -20 dBm.
Thus, the harmonics of the signal are located at 200 MHz, 300 MHz, etc. For
high-quality signal sources, these harmonics may be located outside the dynamic
range of the R&S
FSVA/FSV. Nevertheless, to measure the harmonic suppres-
sion, the level setting must be changed to higher sensitivity when measuring the
harmonics. In this case, it may be necessary to suppress the carrier by using a
notch filter in order to prevent the RF input of the R&S
FSVA/FSV from being
overloaded.
Brief Introduction to Remote Control