EasyManua.ls Logo

Keithley 237

Keithley 237
314 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
+
APPENDIXD
Controller
Programs
IBM
PC/XT/ATwith National
GPIB
PC
Interface
Introduction
The
following
program
sends
a
command
string
to
the
Model
236/237/238
from
an
IBM
PC/XT
I
AT
computer
and
displays
the
instrument
reading
string
on
the
CRT.
The
computer
must
be
equipped
with
the
National
GPm
PC
Interface
and
the
DOS
2.00
(or
later
revision)
operat-
ing
system. Interface
software
must
be
installed
and
con-
figured
as
described
in
the
instruction
manual.
Directions
1.
Using
the
front
panel
program
feature,
set
the
pri-
mary
address
of
the
Model236/237
/238
to
16.
PROGRAM
CLS
10
20
30
40
50
60
70
80
90
100
110
120
130
140
150
160
170
NA$="GPlliO":CALL lliFIND(NA$,BRDO%)
NA$="DEV1"
:CALL
lliFIND(NA$,M'l36%)
V%=16:CALL
IBPAD(M'l36%,V%)
V%=&H102:CALL IBPOI<E(BRDO%,V%)
V%=1:CALL
lliSRE(BRDO%,V%)
INPUT
"COMMAND
STRING" ;CMD$
IF CMD$=''EXIT"
THEN
150
IF
CMD$=""
THEN
70
CALL IBWRT
(M'l36%,CMD$)
RD$=SPACE$(100)
CALL
lliRD(M236%,RD$)
PRINTRD$
GOT070
V%=0:CALL
lliONL(M236%,V%)
CALL lliONL(BRDO%,V%)
END
+
2.
With
the
power
off,
connect
the
Model236
/237/238
to
the
IEEE-488 interface installed
in
the
lliM
com-
puter.
3.
Type
in
BASICA
on
the
computer
keyboard
to
get
into
the
lliM
interpretive
BASIC
language.
4.
Place
the
interface
software
disk
in
the
default
drive,
type
LOAD"DECL",
and
press
the
return
key.
5.
Add
the
lines
below
to
line 1-6
which
are
now
in
memory.
Modify
the
address
in
lines 1
and
2,
as
de-
scribed
in
the
National
instruction
manual.
6.
Run
the
program
and
type
in
the
desired
command
string.
For
example,
to
view
the
instrument
model
number
and
firmware
revision,
type
in
UOX
and
press
the
return
key.
The
Model
236/237/238
firm-
ware
revision, e.g. 236A01,
will
then
appear
on
the
computer
display. A
single
line
of
data
(NSDCV
+OO.OOOE+OO,BOOOO)
will
appear
for
DOCs
that
have
no
response.
COMMENTS
Clear
screen.
Find
board
descriptor.
Find
instrument
descriptor.
Set
primary
address
to
16.
Set
timeouts.
Set
REN
true.
Prompt
for
command.
See
if
program
is
to
be
halted.
Check
for
null
input.
Address
236/237/238
to
listen,
send
string.
Define
reading
input
buffer.
Address
236/237/238
to
talk,
get
reading.
Display
the
string.
Repeat.
Close
the
instrument
file.
Close
the
board
file.
D-7

Other manuals for Keithley 237

Related product manuals