Introduction to the SCPI Language
SCPI (Standard Commands for Programmable Instruments) is an ASCII-based programming language for test and
measurement instruments. SCPI commands use a hierarchical structure known as a tree system. Associated com-
mands are grouped under a common node or root, thus forming subsystems. A portion of the SENSe subsystem
illustrates this, as below.
SENSe:
VOLTage:
DC:RANGe {<
range
>|MIN|MAX|DEF}
DC:RANGe? [MIN|MAX|DEF]
SENSe is the root keyword of the command, VOLTage is a second-level keyword, and DC is a third-level keyword. A
colon ( : ) separates consecutive keywords.
Syntax conventions
SCPI command separators
Querying parameter settings
Using the MIN, MAX, and DEFparameters
SCPI command terminators
IEEE-488.2 common commands
Channel list parameter
SCPI parameter types
Using Device Clear
LANport usages
16
Keysight DAQ970A/DAQ973A Programming Guide
1 Remote Operation