1
Introduction to Programming
12
Keysight U2722A/U2723A Programmer’s Reference
Introduction to the SCPI Language
SCPI, also known as the Standard Commands for Programmable Instruments, is
an ASCII-based instrument command language designed for test and
measurement instruments. SCPI commands are based on a hierarchical structure,
also known as a tree system. In this system, associated commands are grouped
together under a common node or root, thus forming subsystems. A portion of the
SOURce subsystem is shown below to illustrate the tree system.
SOURce:
VOLTage:
RANGe <CPD>, (<(@1)|(@2)|(@3)>)
RANGe? (<(@1)|(@2)|(@3)>)
CURRent:
LIMit <CPD>, (<(@1)|(@2)|(@3)>)
LIMit? (<(@1)|(@2)|(@3)>)
SOURce
is the root keyword of the command,
VOLTage
and
CURRent
are
second-level keywords, and
RANGe
and
LIMit
are third-level keywords.
A colon ( : ) separates a command keyword from a lower-level keyword.
For example, in the above syntax statement,
VOLT
and
VOLTAGE
are both
acceptable forms. You can use upper- or lower-case letters. Therefore,
VOLTAGE
,
volt
, and
Volt
are all acceptable. Other forms, such as
VOL
and
VOLTAG
, are not
valid and will generate an error.
Содержание u2722a
Страница 1: ...Keysight U2722A U2723A USB Modular Source Measure Units Programmer s Reference ...
Страница 7: ...Keysight U2722A U2723A Programmer s Reference 7 List of Figures Figure 1 Status system diagram 21 ...
Страница 8: ...8 Keysight U2722A U2723A Programmer s Reference THIS PAGE HAS BEEN INTENTIONALLY LEFT BLANK ...
Страница 10: ...10 Keysight U2722A U2723A Programmer s Reference THIS PAGE HAS BEEN INTENTIONALLY LEFT BLANK ...
Страница 50: ...8 SENSe Subsystem 50 Keysight U2722A U2723A Programmer s Reference THIS PAGE HAS BEEN INTENTIONALLY LEFT BLANK ...
Страница 102: ...10 STATus Subsystem 102 Keysight U2722A U2723A Programmer s Reference THIS PAGE HAS BEEN INTENTIONALLY LEFT BLANK ...
Страница 136: ...14 Error Messages 136 Keysight U2722A U2723A Programmer s Reference THIS PAGE HAS BEEN INTENTIONALLY LEFT BLANK ...