
Remote Commands to Perform Measurements with I/Q Data
R&S
®
ZNL
151
User Manual 1178.5989.02 ─ 06
To prevent overlapping execution of the subsequent command before the measure-
ment has been aborted successfully, use the
*OPC?
or
*WAI
command after
ABOR
and
before the next command.
Note on blocked remote control programs
:
If a sequential command cannot be completed, for example because a triggered sweep
never receives a trigger, the remote control program will never finish and the remote
channel to the R&S
ZNL is blocked for further commands. In this case, you must inter-
rupt processing on the remote channel first in order to abort the measurement.
To do so, send a "Device Clear" command from the control instrument to the R&S
ZNL
on a parallel channel to clear all currently active remote channels. Depending on the
used interface and protocol, send the following commands:
●
Visa
:
viClear()
Now you can send the
ABORt
command on the remote channel performing the mea-
surement.
Example:
ABOR;:INIT:IMM
Aborts the current measurement and immediately starts a new
one.
Example:
ABOR;*WAI
INIT:IMM
Aborts the current measurement and starts a new one once
abortion has been completed.
Usage:
Event
INITiate<n>:CONMeas
This command restarts a (single) measurement that has been stopped (using
ABORt
)
or finished in single sweep mode.
The measurement is restarted at the beginning, not where the previous measurement
was stopped.
Suffix:
<n>
.
irrelevant
Example:
INIT:CONT OFF
Switches to single sweep mode.
DISP:WIND:TRAC:MODE AVER
Switches on trace averaging.
SWE:COUN 20
Setting the sweep counter to 20 sweeps.
INIT;*WAI
Starts the measurement and waits for the end of the 20 sweeps.
INIT:CONM;*WAI
Continues the measurement (next 20 sweeps) and waits for the
end.
Result: Averaging is performed over 40 sweeps.
Capturing Data and Performing Sweeps