![HP 8360 B Series User Manual Download Page 96](http://html.mh-extra.com/html/hp/8360-b-series/8360-b-series_user-manual_163548096.webp)
Subsystem Command
Trees
The Command Tree Structure
Most programming tasks involve subsystem commands. SCPI uses
a hierarchical structure for subsystem commands similar to the file
systems on most computers. In SCPI, this command structure is
called a
command tree.
root
AA
level 1
B B
c c
DD
level 2
EE FF GG
HH
Figure l-25. A Simplified Command Tree
JJ
In the command tree shown in Figure l-25, 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.
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.
Getting Started Programming
Summary of Contents for 8360 B Series
Page 363: ...NF N 2 w z P w D I oa 0 i B 6 7 On s5 n 20 a g 9 i T2 ...
Page 406: ...2b Menu Maps Menu Maps 2b 1 ...
Page 407: ...t t m ALC Bandwidth Select Module Sense Low High Auto AUTO Front Rear None ALC MENU ...
Page 412: ...rMENU SELECT 1 Fault Fault Info1 Info2 Fault Info3 Clear Fault S E R V I C E M E N U 6 ...