Example

See Also

Introduction to Programming

Talking to Individual System Modules

Talking to Individual System Modules

Talking to individual system modules within the HP 16500C Logic Analysis System is done by preceding the module commands with the SELECT command and the number of the slot in which the desired module is installed. The mainframe is selected in the same way as an installed module by using the SELECT 0 command.

To select the module in slot 3 use the following:

OUTPUT XXX;":SELECT 3"

Chapter 10, "Mainframe Commands" for more information on the SELECT command.

Initialization

To make sure the bus and all appropriate interfaces are in a known state, begin every program with an initialization statement. BASIC provides a CLEAR command that clears the interface buffer. If you are using HP-IB, CLEAR will also reset the parser in the Logic Analysis System. The parser is the program resident in the Logic Analysis System that reads the instructions you send to it from the controller.

After clearing the interface, you could, for example, preset the logic analyzer module to a known state by loading a predefined configuration file from the disk.

Refer to your controller manual and programming language reference manual for information on initializing the interface.

1–4