
Controlling the R&S
FSVA/FSV Remotely
R&S
®
FSVA/FSV
159
Quick Start Guide 1321.3066.02 ─ 06
'--------- 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 ************************************************************************
8.3.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
NEXT i
'--------- Default setting of the R&S FSV -------------------------------
CALL SetupStatusReg 'Configure status register
CALL InstrWrite(analyzer,"*RST") 'Reset instrument
Brief Introduction to Remote Control