![Rohde & Schwarz FSQ series Quick Start Manual Download Page 206](http://html.mh-extra.com/html/rohde-and-schwarz/fsq-series/fsq-series_quick-start-manual_1477838206.webp)
R&S FSQ
Brief Introduction to Remote Control
Detailed Programming Examples
7.24
Quick Start Guide 1313.9652.62 - 02
7.2.4.2 Loading Instrument Settings
In the following example, the
TEST1
data record stored under
D:\USER\DATA
is reloaded into
the instrument:
REM ************************************************************************
Public Sub LoadSettings()
Dim status As ViStatus
Dim retCnt As Long
'This subroutine loads the TEST1 data record in the directory D:\USER\DATA.
REM ------ Default setting of the status register --------------------------
Call SetupStatusReg
'Configure status register
'--------- Loading the data record -----------------------------------------
status = viWrite(analyzer, "MMEM:LOAD:STAT 1,'D:\USER\DATA\TEST1'", 37, retCnt)
REM ------ Performing measurement using loaded data record -----------------
status = viWrite(analyzer, "DISP:TRAC1:MODE WRITE", 21, retCnt)
'Set trace to Clr/Write
status = viWrite(analyzer, "INIT;*WAI", 9, retCnt)
'Start sweep
END SUB
REM ************************************************************************
7.2.4.3 Setting the Data Record for Startup Recall
In the following example, the first step is to change the R&S FSQ to the default state. In the
next step, the
TEST1
data record stored under
D:\USER\DATA
is selected for the STARTUP
RECALL function, i.e. the data record is then set after each *RST, PRESET and each time the
instrument is started. For demonstration purposes, the command *RST is carried out again.
REM ************************************************************************
Public Sub StartupRecallSettings()
Dim status As ViStatus
Dim retCnt As Long
REM ------ Resetting the R&S FSQ -------------------------------------------
status = viWrite(analyzer, "*RST", 4, retCnt)
REM ------ Default setting of the status register --------------------------
Call SetupStatusReg
'Configure status register
REM ------ Selecting the startup recall data record ------------------------
status = viWrite(analyzer, "MMEM:LOAD:AUTO 1,'D:\USER\DATA\TEST1'", 37, retCnt)
REM ------ Activating the startup recall data record -----------------------
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 ...