![Rohde & Schwarz FSQ series Quick Start Manual Download Page 205](http://html.mh-extra.com/html/rohde-and-schwarz/fsq-series/fsq-series_quick-start-manual_1477838205.webp)
Quick Start Guide 1313.9652.62 - 02
7.23
R&S FSQ
Brief Introduction to Remote Control
Detailed Programming Examples
7.2.4 Storing and Loading Instrument Settings
7.2.4.1 Storing Instrument Settings
In the following example, the settings/measured data to be stored are initially defined, 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()
Dim status As ViStatus
Dim retCnt As Long
'This subroutine selects the settings to be stored and creates the
'data record "TEST1" in the directory D:\USER\DATA. It uses the default
'setting and resets the instrument after the setting is stored.
REM ------ Default settings of the R&S FSQ ---------------------------------
Call SetupInstrument
status = viWrite(analyzer, "INIT:CONT OFF", 13, retCnt)
'Change to single sweep
status = viWrite(analyzer, "INIT;*WAI", 9, retCnt)
'Perform sweep with sync
REM ------ Selection of settings to be stored ------------------------------
status = viWrite(analyzer, "MMEM:SEL:HWS ON", 15, retCnt)
'Store hardware settings
status = viWrite(analyzer, "MMEM:SEL:TRAC OFF", 17, retCnt)
'Do not store any traces
status = viWrite(analyzer, "MMEM:SEL:LIN:ALL OFF", 20, retCnt)
'Store only the activated limit lines
REM ------ Entering comments -----------------------------------------------
status = viWrite(analyzer, "MMEM:COMM 'Test Setup'", 22, retCnt)
REM ------ Storing on the instrument ---------------------------------------
status = viWrite(analyzer, "MMEM:STOR:STAT 1,'D:\USER\DATA\TEST1'", 37, retCnt)
REM ------ Resetting the instrument ----------------------------------------
status = viWrite(analyzer, "*RST", 4, retCnt)
END SUB
REM ************************************************************************
Summary of Contents for FSQ series
Page 1: ...R S FSQ Signal Analyzer Quick Start Guide Quick Start Guide Test Measurement 1313 9652 62 02 ...
Page 28: ...R S FSQ 0 4 Quick Start Guide 1313 9652 62 02 ...
Page 50: ...R S FSQ Front and Rear Panel Rear Panel Connections 1 22 Quick Start Guide 1313 9652 62 02 ...
Page 110: ...R S FSQ Basic Operation Setting Parameters 4 12 Quick Start Guide 1313 9652 62 02 ...
Page 209: ...Quick Start Guide 1313 9652 62 02 R S FSQ Appendix Appendix ...
Page 210: ...Quick Start Guide 1313 9652 62 02 R S FSQ Appendix ...
Page 220: ...R S FSQ Appendix Installing Non Plug Play Printers A 10 Quick Start Guide 1313 9652 62 02 ...