8-2 HP IBASIC Supplement
Interfacing with External Devices
This chapter describes the techniques necessary for programming the
GPIB interface. It describes how this interface works and how to use it to
control or interface with systems containing various GPIB devices. It
also describes how to interface with external devices using the serial and
parallel interfaces.
The GPIB interface is Agilent's implementation of the IEEE-488.2
Digital Interface for Programmable Instrumentation. The acronym GPIB
stands for “General Purpose Interface Bus,” and is often referred to as
the “bus.” The interface is easy to use and allows great flexibility in
communicating data and control information between an HP Instrument
BASIC program and external devices.
IBASIC is a GPIB instrument controller residing inside an instrument.
It uses the instrument's GPIB interface for external communication and
an internal GPIB interface to communicate with the instrument. This
unique arrangement presents a few differences between IBASIC's
implementation of GPIB control and HP BASIC controllers. A
description of the interaction of IBASIC with the host instrument and
the external GPIB interface is given in the section entitled “The IBASIC
GPIB Model” on page 8-17.