HP (Hewlett-Packard) HP 83620A Vacuum Cleaner User Manual


 
In the programming explanations that follow, specific examples are
included that are written in a generic dialect of the BASIC language.
BASIC was selected because the majority of HP-IB computers have
BASIC language capability. However, other languages can also be
used.
HP-IB Command
Command statements form the nucleus of HP-IB programming;
Statements
they are understood by all instruments in the network and, when
combined with the programming language codes, they provide all
management and data communication instructions for the system.
An explanation of the fundamental command statements follows.
However, some computers use a slightly different terminology,
or support an extended or enhanced version of these commands.
Consider the following explanations as a starting point, but
for detailed information consult the BASIC language reference
manual, the I/O programming guide, and the HP-IB manual for the
particular computer used.
Syntax drawings accompany each statement: All items enclosed by
a circle or oval are computer specific terms that must be entered
exactly as described; items enclosed in a rectangular box are names
of parameters used in the statement; and the arrows indicate a path
that generates a valid combination of statement elements.
The eight fundamental command statements are as follows:
Abort
Abort abruptly terminates all listener/talker activity on the interface
bus, and prepares all instruments to receive a new command from the
controller. Typically, this is an initialization command used to place
the bus in a known starting condition. The syntax is:
interface
erlect
Cod.2
where the interface select code is the computer’s HP-IB I/O port,
which is typically port 7. Some BASIC examples:
10 ABORT7
100
IF V>20 THEN ABORT 7
Related statements used by some computers:
ABORT10
(used by HP-80 series computers)
HALT
RESET
Getting Started Programming
1-57