EasyManua.ls Logo

HP 5335A - Page 69

HP 5335A
76 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...
Operation
and
Programming
EXAMPLE
10.
HIGH
SPEED
MEASUREMENT
(COMPUTER
DUMP)
This
following
program
will
illustrate
how
the
5335A
can
be
set-up
to
perform
a
high
speed
transfer
of
data
with
the
9825A
controller.
Line
2
specifies
a
"fast
read-write
buffer”
labeled
allocating
2100
bytes
of
memory.
Line
3
initializes
the
5335A
for
a
measurement;
the
buffer
is
cleared
in
line
4.
in
line
5,
100
measurements
are
transferred
directly
into
buffer
"$J”
from
the
counter;
line
6
check
for
a
completed
transfer
of
data,
after
which,
the
controller
will
beep.
The
9835A
will,
in
lines
8
through
10,
remove
21
bytes
at
a
time
from
buffer
"SJ”
and
store
them
temporarily
in
A$,
display
this
information
as
well
as
the
measurement
number;
this
operation
is
performed
N
times.
9825A
EXAMPLE
0=
din
A*F.2i:i
1:
10
0-*-N
2=
buf
"SJ"
3
j
wrt
703,
"in,qn2,ey?"
4:
buf
a
8
J
5:
tfr
703,"SJ".N#?H
6
*
if
rds(
"SJ")=-i>jnp
0
beep
8:
for
X~i
to
N
9s
red
i0i
fxd
0
11s
cisp
A
$
,
X
12*
wait
BOO
:i.3
••
nex
t
X
14;
beep
iS;
end
*5418
9835A
EXAMPLE
10
OPTION
BASE
i
20
FIXED
0
30
dim
a$
r
.
2
i
:i,
b
$
(
i
oo)
i:
2
i
:i
40
N«100
50
OUTPUT
703>"in
>
g
«
2
>
c
y
2
"
60
ENTER
7
03
BENS
2
1
00
>
(
*
)
70
BEEP
80
FOR
X~i
TO
1.0
0
90
PRINT
USING
"DDD,XXX,21A
%
X,
m
(
X
)
9.1.
WAIT
BOO
100
NEXT
X
101
BEEP
110
END
3-53
Model
5335A

Related product manuals