Types of Commands
Commands can be separated into two groups, common commands
and subsystem commands.
Common commands
are generally not
measurement related. They are used to manage macros, status
registers, synchronization, and data storage. Common commands
are easy to recognize b ecause they all b egin with an asterisk,
suchas
*IDN?
,
*OPC
, and
*RST
. Common commands are dened
by IEEE 488.2.
Subsystem commands
include all measurement
functions and some general purpose functions. Subsystem commands
are distinguished by the colon used b etween keywords, as in
:FREQuency:CW?
. Each command subsystem is a set of commands
that roughly corresp onds to a functional blo ck inside the instrument.
For example, the
POWer
subsystem contains commands for p ower
generation, while the
STATus
subsystem contains commands for
accessing status registers.
Figure 1-24. SCPI Command Types
The remaining paragraphs in this subsection discuss subsystem
commands in more detail. Remember, some commands are
implemented in one instrument and not in another, depending on its
measurement function.
Getting Started Programming 1-67