Remote Control
R&S
®
ESRP
589
User Manual 1175.7445.02 ─ 08
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
ESRP 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")
'--------- Default setting of the status register --------------------------
CALL SetupStatusReg 'Configure status register
'--------- Selecting the startup recall data record ------------------------
CALL InstrWrite(analyzer,"MMEM:LOAD:AUTO 1,'C:\R_S\Instr\user\TEST1'")
'--------- Activating the startup recall data record -----------------------
CALL InstrWrite(analyzer,"*RST")
END SUB
REM ************************************************************************
Configuring and Starting a Printout
The following example shows how to configure the output format and output device for
printing out a measurement screen. The procedure is as follows:
1. Set the measurement you want for the printout.
2. Check which output devices are available on the instrument.
3. Select an output device.
4. Select the output interface.
5. Configure the output format.
6. Start the printout with synchronization to completion.
Controlling the R&S
ESRP Remotely