Reviewing SCPI Syntax Rules
4
-
23
Programs written in long form are easily read and are
almost self-documenting. Using short form commands
conserves the amount of controller memory needed for
program storage and reduces the amount of I/O activity.
The rules for creating short forms from the long form is
as follows:
The mnemonic is the first four characters of the key-
word
unless
the fourth character is a vowel, in which
case the mnemonic is the first three characters of the
keyword.
This rule is
not
used if the length of the keyword is
exactly four characters.
You can use upper or lowercase letters
Program headers can be sent using any combination of
uppercase or lowercase ASCII characters. Instrument
responses, however, are always returned in uppercase.
Combine commands in the same subsystem
You can combine commands from the same subsystem
provided that they are both on the same level in the
subsystem’s hierarchy. Simply separate the commands
with a semi-colon (;). For example, the following two
lines,
OUTPUT 720;”:CALC2:PEXC 12”
OUTPUT 720;”:CALC2:PTHR 20”
can be combined into one line:
OUTPUT 720;”:CALC2:PEXC 12;PTHR 20”
The semicolon separates the two functions.
Table 4-5. Examples of Short Forms
Long Form
Equivalent Short Form
ROUTE
ROUT
LAYER
LAY
SYSTEM
SYST
ERROR
ERR
Summary of Contents for 86121A
Page 2: ...User s Guide Agilent 86121A WDM Channel Analyzer ...
Page 7: ......
Page 10: ...Chapter 1 Getting Started ...
Page 21: ......
Page 24: ...Agilent 86121A Front and Rear Panels 2 3 Agilent 86121A Front and Rear Panels ...
Page 25: ...2 4 Agilent 86121A Front and Rear Panels ...
Page 27: ...2 6 WDM Channel Analyzer Display The S N with Averaging display ...
Page 32: ...The Softkeys 2 11 The Setup menu ...
Page 33: ...2 12 The Softkeys The Disk menu The Printer menu ...
Page 35: ...2 14 Changing the Printer Paper Changing the Printer Paper ...
Page 37: ......
Page 191: ......
Page 205: ...7 14 Regulatory Information Declaration of Conformity ...
Page 239: ......