![Rohde & Schwarz 1307.9002K03 Quick Start Manual Download Page 165](http://html1.mh-extra.com/html/rohde-and-schwarz/1307-9002k03/1307-9002k03_quick-start-manual_1477765165.webp)
Controlling the R&S
FSVA/FSV Remotely
R&S
®
FSVA/FSV
150
Quick Start Guide 1321.3066.02 ─ 06
'Video bandwidth (*)
CALL InstrWrite(analyzer,"SWE:TIME 100ms")
'Sweep time (*)
END SUB
8.3.2.2
Using Markers and Delta Markers
The markers are used for marking points on traces, reading out measurement
results and for selecting a display area quickly.
Marker Search Functions, Restricting the Search Range
The following example is based on an AM-modulated signal at 100 MHz that has
the following characteristics:
Carrier signal level
-30 dBm
AF frequency
100 kHz
Modulation depth
50 %
Marker 1 and then delta marker 2 are set to the largest maximum points on the
trace. The frequency and level are then read. In the following measurements, the
instrument's default setting can be used for measurements (SetupInstrument).
REM ************************************************************************
Public Sub MarkerSearch()
Dim retCount as Long
result$ = Space$(100)
CALL SetupInstrument 'Default Setting
'--------- Peak search without search range limits--------------------------
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")
'Enable marker 1
CALL InstrWrite(analyzer,"CALC:MARK:TRAC 1")
'Set marker 1 to trace 1
CALL InstrWrite(analyzer,"INIT;*WAI") 'Perform sweep with sync
CALL InstrWrite(analyzer,"CALC:MARK:MAX;X?;Y?")
'Marker to peak; read frequency and level
CALL InstrRead(analyzer, result$, 100, retCount)
Debug.Print "Marker 1: ";result$
CALL InstrWrite(analyzer,"CALC:DELT2:STAT ON;MAX;MAX:LEFT")
'Activate delta marker 2,
Brief Introduction to Remote Control