Programming Manual UTG900E Series
Instruments.uni-trend.com
SCPI Introduction
SCPI (Standard Commands for Programmable Instruments) is a standard instrument programming language
based on the existing IEEE 488.1 and IEEE 488.2 standards, following the floating point arithmetic rules of
IEEE754 standard, 7-bit coding character of information change in ISO646 (equivalent to ASCII programming),
and etc. In this section, we describe the format, notations, parameters, abbreviation rules of the SCPI
command.
Commands Format
The SCPI command in a tree hierarchy includes several subsystems, each consisting of a root keyword and
one or more hierarchical keywords. The command line usually starts with a colon ":". Keywords are separated
by a colon ":", followed by optional Parameter settings. The command keyword and the first Parameter are
separated by a space. The command string must end with a < Newline > (<NL>) character. Add the question
mark "? " to the end of command line, which usually means to query this function.
Notations
The following four notations are not the part of SCPI command, not sent with the command, but generally
used to help illustrate The parameters in the command.
Brace { }
It usually contains multiple optional parameters, one of which must be selected when the command is sent.
For example, :DISPlay:GRID:MODE { FULL | GRID | CROSS | NONE} command.
Vertical Bar |
It is used to separate multiple Parameter options, one of which must be selected when the command is sent.
For example, :DISPlay:GRID:MODE { FULL | GRID | CROSS | NONE} command.
Square Bracket [ ]
The content in square bracket (command keywords) is omitted. If The parameter is omitted, it will be set as
the default value by the instrument.
For example, in the :MEASure:NDUTy? [<source>] command, [<source>] means the current channel.
Angle Bracket < >
The parameter in triangular bracket must be replaced by a valid value.
For example, DISPlay:GRID:BRIGhtness <count> command is sent as the format of
DISPlay:GRID:BRIGhtness 30
Parameters
The parameters contained in the commands in this manual can be divided into five types: Boolean, Integer,
Real, Discrete, and ASCII Strings.
Boolean Type
The parameter value is “ON”(1)or “OFF”(0).
For example, :SYSTem:LOCK {{1 | ON} | {0 | OFF}}