EasyManua.ls Logo

Rohde & Schwarz FSV40 - Page 173

Rohde & Schwarz FSV40
199 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Controlling the R&S FSVA/FSV Remotely
R&S
®
FSVA/FSV
158Quick Start Guide 1321.3066.02 ─ 06
'--------- 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 ***********************************************************************
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 --------------------
CALL InstrWrite(analyzer,"DISP:TRAC1:MODE WRIT")
'Set trace to Clr/Write
CALL InstrWrite(analyzer,"INIT;*WAI") 'Start sweep
END SUB
REM ************************************************************************
Setting the Data Record for Startup Recall
In the following example, the first step is to change the R&S FSVA/FSV to the
default state. In the next step, the TEST1 data record stored under
C:\R_S\Instr\user is selected for the startup recall function, i.e. the data
record is then set after each *RST, presetting and each time the instrument is
started. For demonstration purposes, the command *RST is carried out again.
REM ************************************************************************
Public Sub StartupRecallSettings()
'--------- Resetting the R&S FSV ------------------------------------------
CALL InstrWrite(analyzer,"*RST")
Brief Introduction to Remote Control

Table of Contents

Related product manuals