
1
Introduction to SCPI
Introduction to the SCPI Language
2
U3606A 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 define how you
communicate with an instrument from a bus controller.
They are based on a hierarchical structure, similar to the file systems
used by many bus controllers. This hierarchical structure is also known as
a tree system. In this system, associated commands are grouped together
under a common node or root, thus forming subsystems. You must specify
the complete path to execute the individual lower- level commands. A
portion of the
SOURce
subsystem is shown below to illustrate the tree
system.
SOURce
:VOLTage
:LIMit <value>
:LIMit?
SOURce
:CURRent
:RANGe <value>
SOURce
is the root keyword of the command,
VOLTage
and
CURRent
are
second- level keywords, and
LIMit
and
RANGe
are third- level keywords. A
colon (
:
) separates a command keyword from a lower- level keyword.
Mnemonic forms
Each keyword has both a long and a short form. A standard notation is
used to differentiate the short–form keyword from the long–form keyword.
The long form of the keyword is shown, with the short–form portion
shown in uppercase characters, and the rest of the keyword shown in
lowercase characters. For example, the short form of
SOURce
is
SOUR
.
For shorter program lines, you can send the abbreviated form. For better
program readability, you can send the long form. For example, in the
above syntax statement,
SOURce
and
SOUR
are both acceptable forms. You
can use a mixture of upper- case and lower- case letters. Therefore,
SOURCE
,
sour
, and
Sour
are all acceptable forms. Other forms, such as
SOU
and
sourc
, are not valid and will generate an error.
Содержание U3606A
Страница 1: ...Keysight U3606A Multimeter DC Power Supply Programmer s Reference ...
Страница 2: ......
Страница 3: ......
Страница 13: ...U3606A Programmer s Reference XI Device specific errors 341 Self test errors 342 Calibration errors 343 ...
Страница 14: ...XII U3606A Programmer s Reference ...
Страница 27: ...Introduction to SCPI 1 SCPI Status System U3606A Programmer s Reference 13 Figure 1 1 Status system diagram ...
Страница 32: ...1 Introduction to SCPI SCPI Status System 18 U3606A Programmer s Reference ...
Страница 58: ...2 CALCulate Subsystem CALCulate NULL OFFSet 44 U3606A Programmer s Reference ...
Страница 92: ...3 CALibration Subsystem Remote Calibration Procedures 78 U3606A Programmer s Reference ...
Страница 132: ...4 CONFigure Subsystem CONFigure DCYCle 118 U3606A Programmer s Reference ...
Страница 138: ...5 INITiate Subsystem INITiate CONTinuous 124 U3606A Programmer s Reference ...
Страница 174: ...7 MEMory Subsystem MEMory STATe RECall AUTO 160 U3606A Programmer s Reference ...
Страница 295: ...SOURce Subsystem 10 SOURce PROTection STATe U3606A Programmer s Reference 281 RST on page 328 ...
Страница 296: ...10 SOURce Subsystem SOURce PROTection STATe 282 U3606A Programmer s Reference ...
Страница 332: ...14 Root Commands READ 318 U3606A Programmer s Reference ...
Страница 350: ...15 IEEE 488 2 Common Commands WAI 336 U3606A Programmer s Reference ...
Страница 370: ...Command Quick Reference 356 U3606A Programmer s Reference ...