prog.book : chapter1.fm 95 Mon Feb 15 09:24:37 1999
Power Meter Remote Operation
An Introduction to the SCPI Language
HP E4418B/E4419B Programming Guide
1-95
Syntax Conventions
Throughout this guide, the following conventions are used for SCPI
command syntax.
•
Square brackets ([]) indicate optional keywords or parameters.
•
Braces ({}) enclose one or more parameters that may be included
zero or more times.
•
Triangle brackets (<>) indicate that you must substitute a value
for the enclosed parameter.
•
Bars (|) can be read as “or” and are used to separate alternative
parameter options.
Syntax Diagram Conventions
•
Solid lines represent the recommended path.
•
Ovals enclose command mnemonics. The command mnemonic
must be entered exactly as shown.
•
Dotted lines indicate an optional path for bypassing secondary
keywords.
•
Arrows and curved intersections indicate command path direction.
SCPI Data Types
The SCPI language defines different data formats for use in program
messages and response messages. Instruments are flexible listeners and
can accept commands and parameters in various formats. However, SCPI
instruments are precise talkers. This means that SCPI instruments
always
respond to a particular query in a predefined, rigid format.
<Boolean> Definition
Throughout this chapter
<Boolean>
is used to represent
ON|OFF|<NRf>
.
Boolean parameters have a value of 0 or 1 and are unitless.
ON
corresponds to
1
and
OFF
corresponds to
0
.
On input, an
<NRf>
is rounded to an integer. A nonzero result is
interpreted as
1
.
Queries always return a
1
or
0
, never
ON
or
OFF
.
Summary of Contents for E4418B
Page 25: ...prog book chapter1 fm 1 Mon Feb 15 09 24 37 1999 1 Power Meter Remote Operation ...
Page 138: ...prog book ch2meas fm 1 Mon Feb 15 09 24 37 1999 2 MEASurement Instructions ...
Page 200: ...prog book ch3calc fm 1 Mon Feb 15 09 24 37 1999 3 CALCulate Subsystem ...
Page 228: ...prog book ch4cal fm 1 Mon Feb 15 09 24 37 1999 4 CALibration Subsystem ...
Page 242: ...prog book ch5disp fm 1 Mon Feb 15 09 24 37 1999 5 DISPlay Subsystem ...
Page 260: ...prog book ch6form fm 1 Mon Feb 15 09 24 37 1999 6 FORMat Subsystem ...
Page 264: ...prog book ch7mem fm 1 Mon Feb 15 09 24 37 1999 7 MEMory Subsystem ...
Page 294: ...prog book ch8out fm 1 Mon Feb 15 09 24 37 1999 8 OUTput Subsystem ...
Page 302: ...prog book ch9sens fm 1 Mon Feb 15 09 24 37 1999 9 SENSe Subsystem ...
Page 360: ...prog book ch10stat fm 1 Mon Feb 15 09 24 37 1999 10 STATus Subsystem ...
Page 384: ...prog book ch11syst fm 1 Mon Feb 15 09 24 37 1999 11 SYSTem Subsystem ...
Page 420: ...prog book ch12trig fm 1 Mon Feb 15 09 24 37 1999 12 TRIGger Subsystem ...
Page 434: ...prog book ch13unit fm 1 Mon Feb 15 09 24 37 1999 13 UNIT Subsystem ...
Page 442: ...prog book ch14serv fm 1 Mon Feb 15 09 24 37 1999 14 SERVice Subsystem ...
Page 452: ...prog book ch15ieee fm 1 Mon Feb 15 09 24 37 1999 15 IEEE488 2 Command Reference ...
Page 481: ...prog book progIX doc 6 Mon Feb 15 09 24 37 1999 Index 6 HP E4418B E4419B Programming Guide ...