Hp-ib command statements, Hp-ib command, Statements – HP 8360 User Manual
Page 87
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:
i n t e r f a c e
where the interface select code is the computer’s HP-IB I/O port,
which is typically port 7. Some BASIC examples:
10
100
IF
THEN ABORT 7
Related statements used by some computers:
(used by
series computers)
HALT
RESET
Getting Started Programming