Programming and Documentation Conventions

Tree Traversal Rules

Example

In the first line of this example, the subsystem selector is implied for the

 

STORE command in the compound command. The STORE command must

 

be in the same program message as the INITIALIZE command, since the

 

<program message terminator> will place the parser back at the root

 

of the command tree.

 

OUTPUT XXX;":MMEMORY:INITIALIZE;STORE ’FILE ’,’FILE

 

DESCRIPTION’"

 

Another way to send these commands is by placing MMEMORY: before the

 

STORE command as shown in the second line of this example.

 

OUTPUT XXX;":MMEMORY:INITIALIZE"

 

OUTPUT XXX;":MMEMORY:STORE ’FILE ’,’FILE DESCRIPTION’"

 

 

Example

In this example, the leading colon before SYSTEM tells the parser to go back

 

to the root of the command tree. The parser can then see the

 

SYSTEM:PRINT command.

 

OUTPUT XXX;":MMEM:CATALOG?;:SYSTEM:PRINT ALL"

 

 

5–9

Page 77
Image 77
HP Sander 16500C manual Tree Traversal Rules Example, Store command as shown in the second line of this example