User`s guide

2-3
Programming Getting Started
Initialization
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 GPIB, CLEAR also resets the oscilloscope’s parser. The
parser is the program which reads in the instructions which you send 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
common commands section of the online Programmer’s Reference.
Refer to your controller manual and programming language reference manual for
information on initializing the interface.