5 Introduction to Programming
68
Series N6700 User’s Guide
SCPI Commands
SCPI has two types of commands, common and subsystem.
Common commands generally control overall power system
functions, such as reset, status, and synchronization. All common
commands consist of a three-letter mnemonic preceded by an
asterisk: *RST *IDN? *SRE 8
Subsystem commands perform specific power system functions.
They are organized into an inverted tree structure with the "root"
at the top. The following figure shows a portion of a subsystem
command tree, from which you access the commands located
along the various paths.
Multiple Commands in a Message
Multiple SCPI commands can be combined and sent as a single
message with one message terminator. There are two important
considerations when sending several commands within a single
message:
Use a semicolon to separate commands within a message.
There is an implied header path that affects how commands are
interpreted by the power system.
The header path can be thought of as a string that gets inserted
before
each command within a message. For the first command in a
message, the header path is a null string. For each subsequent
command the header path is defined as the characters that make up
the headers of the previous command in the message up to and
including the last colon separator. An example of a message with two
commands is:
OUTPut:STATe ON,(@1);PROTection:CLEar (@1)
which shows the use of the semicolon separating the two commands,
and also illustrates the header path concept. Note that with the
second command, the leading header "OUTPut" was omitted because
after the "OUTPut:STATe ON" command, the header path became
:OUTPut
[:STATe]
:DELay
:INHibit
ROOT
:MODE
:STATus
:CONDition?
:OPERation
[:EVEN]?
:FALL
:RISE
Summary of Contents for N6700B
Page 1: ...A A A A Agilent Technologies Modular Power System Series N6700 User s Guide...
Page 28: ......
Page 160: ......
Page 168: ......