R&S
®
ZVA / R&S
®
ZVB / R&S
®
ZVT Remote Control
Command Processing
Operating Manual 1145.1084.12 – 30 593
Data Base and Instrument Hardware
The expression "instrument hardware" denotes the part of the instrument fulfilling the actual instrument
function – signal generation, measurement etc. The controller is not included. The data base manages all
the parameters and associated settings required for the instrument hardware.
Setting commands lead to an alteration in the data set. The data set management enters the new values
(e.g. frequency) into the data set, however, it only passes them on to the hardware when requested by the
command recognition. This can only occur at the end of a command line, therefore the order of the setting
commands in the command line is not relevant.
The commands are only checked for their compatibility among each other and with the instrument
hardware immediately before they are transmitted to the instrument hardware. If the instrument detects
that execution is not possible, an "execution error" is signalled to the status reporting system. All
alterations of the data set are cancelled, the instrument hardware is not reset. Due to the delayed
checking and hardware setting, however, impermissible instrument states can be set for a short period of
time within one command line without this leading to an error message (example: simultaneous activation
of a frequency and a power sweep). At the end of the command line, however, a permissible instrument
state must have been reached again.
Before passing on the data to the hardware, the settling bit in the STATus:OPERation register is set (cf.
section STATus:OPERation Register). The hardware executes the settings and resets the bit again as
soon as the new state has settled. This fact can be used to synchronize command servicing.
Queries induce the data set management to send the desired data to the output unit.
Status Reporting System
The status reporting system collects information on the instrument state and makes it available to the
output unit on request. The exact structure and function are described in section Status Reporting System.
Output Unit
The output unit collects the information requested by the controller, which it receives from the data set
management. It processes it according to the SCPI rules and makes it available in the output buffer. If the
information requested is longer, it is made available "in portions" without this being recognized by the
controller.
If the instrument is addressed as a talker without the output buffer containing data or awaiting data from
the data set management, the output unit sends the error message "Query UNTERMINATED" to the
status reporting system. No data is sent on the GPIB bus or via the Ethernet, the controller waits until it
has reached its time limit. This behavior is specified by SCPI.
Command Sequence and Command Synchronization
IEEE 488.2 defines a distinction between overlapped and sequential commands:
A sequential command is one which finishes executing before the next command starts executing.
Commands that are processed quickly are usually implemented as sequential commands. The
preset and the Go to Local key are locked while a sequential command is executed.
An overlapping command is one which does not automatically finish executing before the next
command starts executing. Usually, overlapping commands take longer to process and allow the
program to do other tasks while being executed. If overlapping commands do have to be executed