
HP-IB Command Statements
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
Command statements form the nucleus of
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
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 erlect Cod.2
where the interface select code is the computer’s
10 ABORT7
100 IF V>20 THEN ABORT 7
Related statements used by some computers:
ABORT10 (used by
HALT
RESET
Getting Started Programming