Chapter 4 Remote Interface Reference
An Introduction to the SCPI Language
101
4
An Introduction to the SCPI Language
SCPI (
Standard C om m a nds for Program m abl e In stru m en ts
) is an ASCII-
based instrument command language designed for test and measurement
instruments. Refer to āāSimplified Programming Overviewāā, starting on
page 68
for an introduction to the basic techniques used to program the power supply
over the remote interface.
SCPI comm ands are based on a hierarchical stru cture, also known as a
tree
system
. In this system, ass ociated comm ands are grouped together under a
common node or root, thus form ing
subsystems
. A portion of the
SOURce
subsystem is shown below to illustrate the tree system.
[SOURce:]
CURRent {<current>|MIN|MAX|UP|DOWN}
CURRent? [MIN|MAX]
CURRent:
TRIGgered {<current>|MIN|MAX}
TRIGgered?{MIN|MAX}
VOLTage {<voltage>|MIN|MAX|UP|DOWN}
VOLTage? [MIN|MAX]
VOLTage:
TRIGgered {<voltage>|MIN|MAX}
TRIGgered? {MIN|MAX}
SOURce
is the root keyword of the com m and,
CURRent
and
VOLTage
are
second-level keywords, and
TRIGgered
is third- level keyword s. A
colon
(:)
separates a command keyword from a lower-level keyword.