Quick Start
R&S
®
ESR
137
User Manual 1175.7068.02 ─ 12
Setting the Data Record for Startup Recall
In the following example, the first step is to change the R&S
ESR 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 ************************************************************************
3.6.2.5
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.
It is assumed that the desired setting is a signal at 100 MHz with a power of -20 dBm.
It is also assumed that the sixth printer out of the available printers that are listed is the
one you want. The printout is first output to the selected printer and then to a file.
REM ***********************************************************************
Public Sub HCopy()
Dim retCount as Long
Dim SRQWaitTimeout As Long
Dim eventType As Long
Dim eventVi As Long
Dim statusSRQ As Long
DIM Devices(100) as string 'Create buffer for printer name
FOR i = 0 TO 49
Devices$(i) = Space$(50) 'Preallocate buffer for printer name
Brief Introduction to Remote Control