Sample Program: To Receive Control (On Instrument Basic) - Agilent Technologies 4396B Gpib Programming Manual

Network/spectrum/impedance analyzer
Hide thumbs Also See for 4396B:
Table of Contents

Advertisement

What is system
controller?
In this guide, it is assumed that the external controller is the system controller and the analyzer
is used in
NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN
d
c
Figure 7-2. Sample Program: To Receive Control (On Instrument BASIC)
In line 60, to print out to the printer at address 701, the analyzer requires active control.
Therefore, until active control is passed to the analyzer, the program loops back to line 30.
When control is passed to the analyzer, it executes line 70.
To pass active control to Instrument BASIC:
d
While the analyzer has control, it is free to address devices to talk and listen as needed. As the
active controller, the analyzer can send messages to and read replies back from printers and
plotters.
Note
The ability to assert the GPIB interface clear line (IFC) and remote enable line
(REN) are reserved for the system controller. Even when Instrument BASIC has
active control, it is denied these functions.
To return active control to the system controller:
d
7-2
Controlling Instrument BASIC from Remote

The controller that acts as the master controller.

A controller can be set as either a system controller or a non-system
controller. For details on how to set a controller, see the controller's
manual. The analyzer, as a controller, can be used in either
NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN
(non-system controller) mode. However, there can be only one system
controller on the bus.
mode.
Return
4
5
Pass Control (On External Controller)
assert the interface clear line (IFC)
assert the remote enable line (REN)
Return
4
5
Return Control (On Instrument BASIC)
(system controller) or
NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN
a
b
a
a

Advertisement

Table of Contents
loading

Table of Contents