![Rohde & Schwarz R&S FSV Quick Start Manual Download Page 185](http://html.mh-extra.com/html/rohde-and-schwarz/rands-fsv/rands-fsv_quick-start-manual_1477866185.webp)
Brief Introduction to Remote Control
R&S
®
FSVA/FSV
162
Quick Start Guide 1321.3066.02 ─ 05
7.2.4.1
Storing Instrument Settings
In the following example, the settings/measured data to be stored are defined ini-
tially, in which case only the hardware settings are stored. However, the selection
commands for the other settings are specified with the state "OFF" for the sake of
completeness.
REM ***********************************************************************
Public Sub StoreSettings()
'This subroutine selects the settings to be stored and creates the
'data record "TEST1" in the directory C:\R_S\Instr\user. It uses the default
'setting and resets the instrument after the setting is stored.
'--------- Default settings of the R&S FSV ------------------------------
CALL SetupInstrument
CALL InstrWrite(analyzer,"INIT:CONT OFF")
'Change to single sweep
CALL InstrWrite(analyzer,"INIT;*WAI") 'Perform sweep with sync
'--------- Selection of settings to be stored ----------------------------
CALL InstrWrite(analyzer,"MMEM:SEL:HWS ON")
'Store hardware settings
CALL InstrWrite(analyzer,"MMEM:SEL:TRAC OFF")
'Do not store any traces
CALL InstrWrite(analyzer,"MMEM:SEL:LIN:ALL OFF")
'Store only the activated limit lines
'--------- Storing on the instrument -------------------------------------
CALL InstrWrite(analyzer,"MMEM:STOR:STAT 1,'C:\R_S\Instr\user\TEST1'")
'--------- Resetting the instrument --------------------------------------
CALL InstrWrite(analyzer,"*RST")
END SUB
REM ***********************************************************************
7.2.4.2
Loading Instrument Settings
In the following example, the
TEST1
data record stored under
C:\R_S\Instr\user
is loaded by the instrument:
REM ************************************************************************
Public Sub LoadSettings()
'This subroutine loads the TEST1 data record in the directory
'C:\R_S\Instr\user.
'--------- Default setting of the status register --------------------------
CALL SetupStatusReg 'Configure status register
'--------- Loading the data record -----------------------------------------
CALL InstrWrite(analyzer,"MMEM:LOAD:STAT 1,'C:\R_S\Instr\user\TEST1'")
'--------- Perform measurement using loaded data record --------------------
Detailed Programming Examples
Summary of Contents for R&S FSV
Page 25: ......