Remote
Progm
1
EXAMPLE
PW
l!
This
is
a sample program which commands the 8840A to e state of
VDC,
autorange, slow rate
2!
continuous trigger and suffixes enabled.
All
readings appqar simultaneously on the
3!
instrument display while being logged on the conuoUer display
with
suiKxes
enabled for
4! function readout.
FuU
local control is
given
to the 8840A so that my range or function
5! may
be
invoked easily. The controller always echos the 8840A display while
this
program
6!
is
running.
30
INIT
PORT 0 !Clear Port
40
CLEAR
PORT
0
!Clear insmcnt to default functions
50 WAIT 1000
!Wait
1
second before sending commands
60
PRINT
@1,
"F1
RO SO TO
Y1"
!Fl=VDC, RO+Autorange, SO=Slow rate
70! !TO=Continuous trigger, Yl=Emable
suffix
80
X=O
90
LOCAL @4 !Give local control to instrument
95!
110
INPUT
@4,qA$
!Get reading
and
suffix
from WA
120 X=X+l !Increment reading count
130 PRINT
"
"&A&ยง
!Display readbg
and
suffix
140 GOT0 110
200
END
Figure
3-11.
Example Program:
Taking
Readings
with
Local Control
ming
IRAMS
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com