1
Power Meter Remote Operation
108
Keysight N8262A Programming Guide
An Introduction to the SCPI Language
Standard Commands for Programmable Instruments (SCPI) defines how you
communicate with an instrument from a bus controller. The SCPI language uses a
hierarchical structure similar to the file systems used by many bus controllers. The
command tree is organized with root-level commands (also called subsystems)
positioned at the top, with multiple levels below each root-level command. You
must specify the complete path to execute the individual lower-level commands.
Figure 1-9
Hierarchical structure of SCPI
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
TRIGger
is
TRIG
.
Using a Colon (:)
When a colon is the first character of a command keyword, it indicates that the
next command mnemonic is a root-level command. When a colon is inserted
between two command mnemonics, the colon moves the path down one level in
the present path (for the specified root-level command) of the command tree. You
must
separate command mnemonics from each other using a colon.
You can omit
the leading colon if the command is the first of a new program line.
“B” Subsystem
:G
:I
:H
:M
:N=:B:H:N
“A” Subsystem
:D
:F
:E
“C” Subsystem
:J
:L=:C:L
:K
Summary of Contents for N8262A
Page 1: ...Keysight N8262A P Series Modular Power Meter Programming Guide ...
Page 6: ...6 Keysight N8262A Programming Guide THIS PAGE HAS BEEN INTENTIONALLY LEFT BLANK ...
Page 48: ...48 Keysight N8262A Programming Guide ...
Page 50: ...50 Keysight N8262A Programming Guide THIS PAGE HAS BEEN INTENTIONALLY LEFT BLANK ...
Page 54: ...54 Keysight N8262A Programming Guide THIS PAGE HAS BEEN INTENTIONALLY LEFT BLANK ...
Page 648: ...16 SERVice Subsystem 648 Keysight N8262A Programming Guide ...
Page 649: ...SERVice Subsystem 16 Keysight N8262A Programming Guide 649 ...
Page 668: ...17 IEEE 488 2 Command Reference 668 Keysight N8262A Programming Guide Syntax STB ...