1 SCPI Overview RIGOL
DS2000E Programming Guide 1-1
1 SCPI Overview
SCPI (Standard Commands for Programmable Instruments) is a standardized instrument programming
language that is built upon the standard IEEE 488.1 and IEEE 488.2 and conforms to various standards
(such as the floating point operation rule in IEEE 754 standard, ISO 646 7-bit coded character for
information interchange (equivalent to ASCII programming)). The SCPI commands provide a hierarchical
tree structure and consist of multiple subsystems. Each command subsystem consists of a root keyword
and one or more sub-keywords.
The topics of this chapter:
Syntax
Symbol Description
Parameter Type
Command Abbreviation
Syntax
The command string usually starts with ":"; the keywords are separated by ":" and are followed by the
parameter settings available; "?" is added at the end of the command string to indicate query or execute
the corresponding function and then make query (for example, *TST?); the command keywords and the
first parameter are separated by a space.
For example,
:CALCulate:ADVanced:EXPRession <expression>
:CALCulate:ADVanced:EXPRession?
CALCulate is the root keyword of the command. ADVanced and EXPRession are the second-level and
third-level keywords respectively. The command string starts with ":" which is also used to separate the
multiple-level keywords. <expression> represents the parameters available for setting. "?" represents
query. The command keywords :CALCulate:ADVanced:EXPRession and parameter <expression> are
separated by a space.
"," is generally used for separating multiple parameters contained in the same command, for example,
:SYSTem:DATE <year>,<month>,<day>