![Rohde & Schwarz R&S FSV Quick Start Manual Download Page 172](http://html.mh-extra.com/html/rohde-and-schwarz/rands-fsv/rands-fsv_quick-start-manual_1477866172.webp)
Brief Introduction to Remote Control
R&S
®
FSVA/FSV
149
Quick Start Guide 1321.3066.02 ─ 05
7.1.4
Switching to Manual Operation
REM -------- Switching instrument to manual operation ----------------------
CALL viGpibControlREN(analyzer, VI_GPIB_REN_ADDRESS_GTL)
'Set instrument to Local state
REM ************************************************************************
7.1.5
Reading Out Instrument Settings
The settings made above can now be read out. To do so, the abbreviated com-
mands are used.
REM --------- Reading out instrument settings ------------------------------
PUBLIC SUB ReadSettings()
Dim retCount as Long
CFfrequency$ = SPACE$(20) 'Provide text variable (20 characters)
CALL InstrWrite(analyzer, "FREQ:CENT?")
'Request center frequency
CALL InstrRead(analyzer, CFfrequency$, 20, retCount)
'Read value
CR&S FSVan$ = SPACE$(20) 'Provide text variable (20 characters)
CALL InstrWrite(analyzer, "FREQ:SPAN?")
'Request span
CALL InstrRead(analyzer, CR&S FSVan$, 20, retCount)
'Read value
RLlevel$ = SPACE$(20) 'Provide text variable (20 characters)
CALL InstrWrite(analyzer, "DISP:TRAC:Y:RLEV?")
'Request ref level setting
CALL InstrRead(analyzer, RLlevel$, 20, retCount)
'Read value
REM --------- Displaying values in the Immediate window --------------------
Debug.Print "Center frequency: "; CFfrequency$,
Debug.Print "Span: "; CR&S FSVan$,
Debug.Print "Reference level: "; RLlevel$,
END SUB
REM*************************************************************************
7.1.6
Marker Positioning and Readout
REM -------- Example of marker function -----------------------------------
PUBLIC SUB ReadMarker()
Dim retCount as Long
CALL InstrWrite(analyzer, "CALC:MARKER ON;MARKER:MAX")
'Activate marker 1 and search for peak
Basic Steps in Remote Control Programming
Summary of Contents for R&S FSV
Page 25: ......