The Command Tree; Commandtypes; Tree Traversal Rules; Examples - HP 1650B Programming Reference Manual

Logic analyzers
Table of Contents

Advertisement

The Command
Tree
Command Types

Tree Traversal Rules

Examples

Programming and Documentation Conventions
4-4
The command tree (figure 4-l) shows all commands in the HP 1650B/51B
logic analyzers and the relationship of the commands to each other.
Parameters are not shown in this figure. The command tree allows you to
see what the HP 1650B/51B's parser expects to receive. All legal headers
of a branch has been reached.
As shown in chapter l's "Header Types" section, there are three types of
headers. Each header has a corresponding command type. This section
shows how they relate to the command tree.
System Commands.
The system commands reside at the top level of the
command tree. These commands are always parsable if they occur at the
beginning of a program message, or are preceded by a colon. START and
STOP are examples of system commands.
Subsystem Commands.
under a common node of the tree, such as the MMEMORY commands.
Common Commands.
Common commands are independent of the tree,
and do not affect the position of the parser within the tree. *CLS and
*RST are examples of common commands.
Command headers are created by traversing down the command tree. For
each group of keywords not separated by a branch, one keyword must be
on
selected. As shown
Do not add spaces around the colons. The following two rules apply to
traversing the tree:
A leading colon (the frost character of a header) or a <terminator >
places the parser at the root of the command tree.
Executing a subsystem command places you in that subsystem (until a
leading colon or a < terminator > is found). The parser will stay at the
colon above the keyword where the last header terminated. Any
command below that point can be sent within the current program
message without sending the keywords(s) which appear above them.
The following examples are written using HP BASIC 4.0 on a HP !XlOO
Series 200/300 Controller. The quoted string is placed on the bus,
followed by a carriage return and linefeed (CRLF).
Subsystem commands are grouped together
the tree, branches are always preceded by colons.
16518
HP 1650B/HP
Programming Reference

Advertisement

Table of Contents
loading

This manual is also suitable for:

1651b

Table of Contents