
Programming
an Instrument
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 which clears the interface buffer. If you’re using
HP-IB, CLEAR will also reset the HP
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 'DEFAULT-"
This BASIC statement would load the configuration
“DEFAULT
(if it exists) into the HP
Refer to the chapter
Subsystem” for more information on the LOAD command.
Note
Refer to your controller manual and programming language reference
manual for information on initializing the interface.
HP
Programming Reference
Introduction to Programming an Instrument
l-11
Содержание 1650B
Страница 2: ......
Страница 16: ......
Страница 40: ......
Страница 48: ......
Страница 58: ......
Страница 74: ......
Страница 76: ...System Commands 6 2 Figure 6 l System Commands Syntax Diagram HP 1650B HP 1651B Programming Reference ...
Страница 112: ......
Страница 128: ......
Страница 134: ......
Страница 160: ......
Страница 184: ... L h E I Figure 13 1 SLlSt Subsystem Syntax Diagram SLIST Subsystem 13 2 HP 165081HP Is5 B Programming Reference ...
Страница 185: ...Figure 13 l SLlSt Subsystem Syntax Diagram continued HP 1650B HP 16518 Programming Reference SLIST Subsystem 13 3 ...
Страница 210: ......
Страница 236: ......
Страница 282: ......
Страница 318: ......
Страница 336: ......
Страница 346: ......