Programming
an Instrument
Initialization
Note 'd
Introduction to Programming an Instrument
l-10
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 which clears the interface buffer. If you're using
HP-IB, CLEAR will also reset the HP 1652B/53B's parser. The parser is
the program which reads in the instructions which you send it.
After clearing the interface, load a predefmed configuration file from the
disk to preset the instrument to a known state. For example:
OUTPUT XXX;" :MMEMORY:LOAD:CONFIG
This BASIC statement would load the configuration file "DEFAULT-"
(if it exists) into the HP 1652B/53B. Refer to the chapter "MMEMory
Subsystem" for more information on the LOAD command.
Refer to your controller manual and programming language reference
manual for information on initializing the interface.
'DEFAULT-"'
HP 16528/1663B