root
level 1
BB
c c
DD
level 2 EE FF GG
HH
Figure
A Simplified Command Tree
JJ
In the command tree shown in Figure
the command closest to
the top is the
root command,
or simply the
root.
Notice that you
must follow a particular
path
to reach lower level subcommands. For
example, if you wish to access the GG command, you must follow the
path AA to BB to GG.
Paths Through the Command Tree
To access commands in different paths in the command tree, you
must understand how an instrument interprets commands. A special
part of the instrument firmware, a
purser,
decodes each message sent
to the instrument. The parser breaks up the message into component
commands using a set of rules to determine the command tree path
used. The parser keeps track of the
current path,
the level in the
command tree where it expects to find the next command you send.
This is important because the same keyword may appear in different
paths. The particular path you use determines how the keyword is
interpreted. The following rules are used by the parser:
Power On and Reset
After power is cycled or after
the current path is set to the
root.
n
Message Terminators
A message terminator, such as a <new line> character, sets the
current path to the root. Many programming languages have
output statements that send message terminators automatically.
The paragraph titled, “Details of Commands and Responses,”
discusses message terminators in more detail.
Colon
When it is between two command mnemonics, a colon moves the
current path down one level in the command tree. For example,
the colon in MEAS:VOLT specifies that VOLT is one level below
When the colon is the first character of a command, it specifies
that the next command mnemonic is a root level command. For
example, the colon in :
specifies that
is a root level
command.
Getting Started Programming
Summary of Contents for 8360
Page 97: ......
Page 138: ......
Page 150: ......
Page 318: ......
Page 336: ......
Page 352: ......
Page 360: ......
Page 397: ...2b Menu Maps Menu Maps 2b 1 ...
Page 398: ......
Page 399: ......
Page 400: ......
Page 401: ......
Page 402: ......
Page 403: ......
Page 404: ......
Page 405: ......
Page 406: ......
Page 435: ...Figure 3 3 Removing the Side StraPs and Feet NSTALLATION 3 ...
Page 461: ......
Page 463: ...5 4 Change B HP 8380 User s Handbook ...
Page 467: ...5 8 Change A HP 8360 User s Handbook ...
Page 481: ...optioll9l3RackFhgeKit 5 22 Change A HP 8360 User s Handbook ...