Paths Through The Command Tree; L-25. A Simplified Command Tree - HP 8360 User Handbook Manual

8360 series synthesized sweepers
Table of Contents

Advertisement

root
level 1
level
2
EE
Figure l-25. A Simplified Command Tree
In the command tree shown in Figure l-25, the command closest to
root command,
the top is the
must follow a particular
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
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
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:
After power is cycled or after *RST, the current path is set to the
root.
Message Terminators
n
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.
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 MEAS.
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 : INIT specifies that INIT is a root level
command.
c c
BB
FF
GG
root.
or simply the
path
to reach lower level subcommands. For
purser,
decodes each message sent
current path,
DD
HH
JJ
Notice that you
the level in the

Advertisement

Table of Contents
loading

This manual is also suitable for:

83620a83622a83624a83623a83630a83640a ... Show all

Table of Contents