HP E8402A User And Service Manual page 44

Vxi c-size mainframe
Table of Contents

Advertisement

Abbreviated
Commands
Implied
Commands
Parameters
46 Programming the Enhanced Monitor
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 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>
Parameter Types. The following table contains explanations and examples of
parameter types you might see later in this chapter.
Parameter
Type
Enumerated
Accepts a specified set of words as the parameter.
(abbreviated
enum in the
For example, the < display window > parameter of the
Parameter
:DISPlay:WINDow
tables)
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
int16 means a signed 16-bit integer value;
uint32
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.
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.
Explanations and Examples
command accepts: MMAin, MPSupply,
Chapter 3

Advertisement

Table of Contents
loading

This manual is also suitable for:

E8404a

Table of Contents