R&S ZVL Remote Control
Basic Remote Control Concepts
Operating Manual 1303.6580.32-05
329
The following program example illustrates how to create, select and reference traces. It is instructive to
obse
rve the analyzer screen in order to check the effect of each step.
*RST
Reset the analyzer, creating channel no. 1 with the default trace Trc1. The trace is displayed in diagram
area no. 1.
CALC1:PAR:SDEF 'Trc2', 'S11'; DISP:WIND:TRAC2:FEED 'Trc2'
Create a new trace named Trc2, assigned to channel no. 1 (the suffix 1 after CALC, may be omitted), and
display the trace. The new trace automatically becomes the active trace for manual and for remote control.
To check this, click Trace – Marker – Marker 1 to create a marker. The marker is assigned to Trc2. Delete
all markers (Trace – Marker – All Markers Off).
CALC1:MARK ON
To verify that Trc2 is also active for remote control, use the channel suffix 1 after CALC (may be omitted)
to reference the active trace in channel 1 and create a marker Mkr 1. The marker is assigned to Trc2.
CALC:PAR:SEL 'Trc1'; CALC1:MARK ON
Select the old default trace Trc1 as the active trace for remote control. Create a new marker to verify that
Trc1 is now the active trace in channel 1.
In the SCPI command description, the numeric suffix <Ch> is used for channel settings (it
denotes the configured channel), whereas <Chn> is used for trace settings (it denotes the
active trace in the channel).
Initiating Measurements, Speed Considerations
After a reset the network analyzer measures in continuous mode. The displayed trace shows the result of
the last sweep and is continuously updated. This provides a permanent visual control over the
measurement and the effect of any analyzer settings.
In remote control, it is advisable to follow a different approach in order use the analyzer's resources to full
capacity and gain measurement speed. The following principles can help to optimize a remote control
program (see also programming example Typical Stages of a Measurement):
• Switch off the measurement while configuring your instrument.
• Use a minimum number of suitably positioned sweep points.
• Start a single sweep, observing proper command synchronization, and retrieve your results.
The following command sequence performs a single sweep in a single channel.
*RST; INITiate:CONTinous OFF
Activate single sweep mode for all channels (including the channels created later).
INITiate:SCOPe SING
State that a single sweep will be performed in the active channel only.
INITiate[:IMMediate]; *WAI
Start a single sweep in channel no. 2, wait until the sweep is terminated before proceeding to the next
command (see Command Synchronization).