Initialization
To make sure the bus and all appropriate interfaces are in a known state,
begin every program with an initialization statement. HP BASIC provides a
CLEAR command which clears the interface buffer:
CLEAR 707
! initializes the interface of the instrument
When you are using HP-IB, CLEAR also resets the logic analyzer's parser.
The parser is the program that reads in the instructions you send to it.
After clearing the interface, initialize the instrument to a preset state:
OUTPUT 707;"*RST"
! initializes the instrument to a preset
state.
Information for Initializing the Instrument
The actual commands and syntax for initializing the instrument are discussed in
the online HP 54620A/C Programmer's Reference .
Refer to your controller manual and programming language reference manual
for information about initializing the interface.
Programming Getting Started
Initialization
23