1 SCPI Overview RIGOL
MSO2000A/DS2000A 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 IEEE488.1 and IEEE 488.2 and conforms to various standards
(such as the floating point operation rule in IEEE754 standard, ISO646 7-bit coded character for
information interchange (equivalent to ASCll 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 and parameter are
separated by 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 :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>