
46
Programming the Enhanced Monitor
Chapter 3
Abbreviated
Commands
The command syntax shows most commands as a mixture of upper- and lowercase
letters. The uppercase letters indicate the abbreviated spelling for the command. For
shorter program lines, send the abbreviated form. For better program readability, you
may send the entire command. The instrument will accept either the abbreviated
form or the entire command.
For example, if the command syntax shows DISPlay, then DISP and DISPLAY are
both acceptable forms. Other forms of DISPlay, such as DISPL or DISPLY will
generate an error. You may use upper- or lowercase letters. Therefore, DISPLAY,
display, and DiSpLaY are all acceptable.
Implied
Commands
Implied commands are those which appear in square brackets ([ ]) in the command
syntax. (Note that the brackets are not part of the command and are not sent to the
instrument.) Suppose you send a second-level command but do not send the
preceding implied command. In this case, the instrument assumes you intend to use
the implied command and it responds as if you had sent it.
Examine the example subsystem above. The second level command [:WINDow] is
an implied command (indicated by square brackets []). You can use either form:
:DISPlay:WINDow <
display window> or
:DISPlay <
display window>
Parameters
Parameter Types. The following table contains explanations and examples of
parameter types you might see later in this chapter.
Optional Parameter: Parameters shown within square brackets ([ ]) are optional
parameters. (Note that the brackets are not part of the command and are not sent to
the instrument.) If you do not specify a value for an optional parameter, the
instrument chooses a default value.
Parameters separated by a vertical bar (|) indicate the only possible choices. For
example:
SYSTem:COMMunicate:SERial:CONTrol:RTS ON|OFF
the ON|OFF means that you can set RTS to either ON or OFF.
Parameter
Type
Explanations and Examples
Enumerated
(abbreviated
enum in the
Parameter
tables)
Accepts a specified set of words as the parameter.
For example, the <
display window> parameter of the
:DISPlay:WINDow
command accepts: MMAin, MPSupply,
MTEMperature, MBLower, MDISplay, MSYStem . . .
Numeric
Accepts all commonly used decimal representations of numbers
including optional signs, decimal points, and scientific notation.
123, 123E2, -123, -1.23E2, .123, 1.23E-2, 1.23000E-01.
Special cases include MIN, MAX, and DEF.
int16 or
uint32
int16 means a signed 16-bit integer value;
uint32 means an unsigned 32-bit integer value.
float
floating point number
Boolean
Represents a single binary condition that is either true or false.
ON, OFF, 1, 0.
Содержание E8402A
Страница 8: ...10 Contents ...
Страница 12: ...14 Notes ...
Страница 14: ......
Страница 26: ...28 Getting Started Chapter 1 ...
Страница 42: ...44 Using the Enhanced Monitor Chapter 2 ...
Страница 214: ...216 Servicing Your Mainframe Chapter 5 ...
Страница 226: ...228 HP E8402 E8404A Product Specifications Appendix A ...