Interface Functions; Bus Drivers; Address; Table 4-2 Interface Functions - Keithley 3321 Operator's Manual

Lcz meter
Table of Contents

Advertisement

SECTION 4
GLIB
Interface
+
4.2
GPIB Programming
Example
Most of the functions of the instrument can be controlled
by the GPIB, allowing automated test systems to be con-
figured.
When using the GPIB, set the address and delimiters for
the GPIB from the panel (see paragraph
3.8.5). Before
making any measurements
over the GPIB, perform zero
correction as explained in paragraph 3.15.
After performing
the above operations,
the instrument
can be programmed
to make measurements
and read
data over the GPIB, as illustrated in the following exam-
ple program. The following program is written in BASIC
2.0 for the HP 9000 Series 200 computer:
100 DIM A$ [64]
110 ABORT 7
120 CLEAR 702
130 OUTPUT 702; "FR lE3;LV l;DA 2;DB l;CK l;TG"
140 ENTER 702;A$
150 PRINT " C(F) D"
160 PRINTA$
170 END
Sample Data:
C(F) D
O.OE-12, -0.1201
Program Analysis:
100
Assign the length of the character string
110 to 120
Initialize the GPIB
130
Set the measurement
conditions and the dis-
play, and then allow the instrument
to start
measurements.
FR lE3:
Frequency = 1 kHz
LVl:
Level = 1V
DA2:
DISP-A=C
DBl:
DISP-B=D
CKl:
Series equivalent
circuit
TG:
Apply trigger
140
Reads data.
150
Prints header.
160
Prints data.
4.3
GPIB SPECIFICATIONS
4.3.1
Interface Functions
The interface
functions
of the instrument
are listed in
Table 4-2.
Table 4-2.
Interface Functions
SHl
All functions of transmit handshake
AH1
All functions of receive handshake
T6
Has basic talker function, serial poll, talker
canceled by MLA function, no talk only
function
L4
Has basic listener function, listener canceled
by MTA function, no listen only function
SRl
All functions of service request
RL2
Has remote/local
switching function, no
lock-out function
PPO
No parallel poll function
DC1
All functions of device clear
DTl
All functions of device trigger
co
No controller function
4.3.2
Bus Drivers
The specifications
of the bus drivers of the instrument are
listed in Table 4-3.
Table 4-3.
Bus Drivers
Data Bus
DIOl to DIOS
Open Collector
Handshake
Bus
NRFD, NDAC
Open collector
DAV
Tri-state
Control Bus
SRQ
Open collector
EOI
Tri-state
4.3.3
Address
The address of the instrument
can be set within the fol-
lowing range:
0 to 30 (Decimal)
4-6
+

Advertisement

Table of Contents
loading

Table of Contents