6.3
Using SCPI
Commands
6.3.1 Hierarchy of
SCPI
Commands
SCPI commands are
ASCII-based commands designed for
test and measurement
devices.
The
command hierarchy is
structured
around the common root or node,
which is the
construction block of the SCPI sub system.
There are two
types of SCPI
commands: Set and Query.
Set commands
execute a certain function of the
PLZ-U or modify the settings.
Query commands
inquire settings and status of the
PLZ-U.
Messages
The information
that is exchanged
between the controller and the
device is called a
device message.
There are two types of
device messages,
commands that are sent from
the computer
to the
PLZ-U and
responses that are sent from
the PLZ-U to the
computer.
Commands
A command is
constructed by
a single message or a
combination of
multiple mes-
sages using
keywords,
parameters, and
punctuations.
Commands
can be
subdivided into set commands
and query commands.
Set
commands
Set commands
execute a certain
function of the
device or modify the
settings.
Query
commands
Query commands
(queries) inquire
settings and status of
the device.
Query messages end
with a question
mark.
Responses
Responses are messages
that are
sent from a
device
to
the
computer or
another
device.
Responses convey the
status of the
device or measured
values to
the computer or
another
device.
PLZ-U
Remote
Control
6-3