EasyManua.ls Logo

HP 5335A - Page 60

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
2.
WAIT
MODE
The
wal
command
tells
the
5335A
to
wait
at
the
end
of
each
measurement
to
output
data,even
if
not
presently
address
to
talk.
During
the
5
second
wait
period
in
step
4
if
a
measurement
ends
the
counter
will
wait
until
it
can
send
its
data
before
starting
the
next
measurement.
Note
that
if
the
gate
time
of
the
measurement
is
very
short,
the
data
that
gets
displayed
in
this
example
is
about
5
seconds
old.
9825A
EXAMPLE
9835A
EXAMPLE
0
;
d
i
f'\
A
$!'.
2
i
!l
1.
0
DIM
A$
1
21
;i
i
wr
t
703
?
"
in
,
wa
1
15
20
OUTPUT
7
0
3
>
"
i
r
twa
i
"
c
:
red
7
0
3
,
A
$
30
ENTER
703
>6$
3
<i
is
p
A
T
40
DIBP
A$
4
:
wait
SO0
0
SO
WAIT
SO0
0
s
:
g
o
•••
3
6
0
GOTO
30
A
JK2
:
end
1
2
B
7
4
70
END
EXAMPLE
3,
TIME
INTERVAL
AND
PULSE
WIDTH
This
program
will
set
the
5335A
fora
Time
Interval
measurement
(fu2),
com
A
(col)
and
channel
B
slope
to
negative
(bsl),
in
step
0.
Step
1
causes
the
counter
to
read
into
the
simple
variable
A
and
step
2
sets
up
the
controller
for
a
specific
floating
format.
Step
3
displays
the
contents
of
the
simple
variable
A;
format:
“T.l.
=-s.".
After
waiting
for
3
seconds
in
step
4,
the
controller
will
set
up
the
5335A
for
a
Pulse
A
measurement
(fu7)
in
step
5.
In
step
6,
the
5335A
will
read
into
the
simple
variable
B.
Step
7
will
display
the
contents
of
variable
B
formatted
as
follows:
“PULSE
A
=-s/\
Following
3
seconds
of
waiting,
the
whole
process
is
repeated.
9825A
EXAMPLE
9835A
EXAMPLE
0
wr
t
7
0
3
>
11
i
n
v
f
u
2
f,
c
o
1
>
b
s
i
"
1
0
OUTPUT
703
>
It
...
X\
\
^
f
u
i
red
03;.
A
20
ENTER
70
3
-
f
A
2
fit
S
3
0
FLOAT
S
3
d
S
p
M
T
.
;e
.
A
t
"sec
.
"
4
0
DIBP
"T.I.*
»
-
A
"s
4
wa
:i.
t
3
0
0
0
SO
WAIT
3000
s
w
r
t
*7
/
03
,
"
i
n
f
u
7
"
60
OUTPUT
703
»
"inf
u7
6
red
7
0
3
;
B
70
ENTER
703
jB
7
dsp
ii
PULSE
A~"
}
B
y
"
s
e
c
.
"
8
0
01
BP
"PUL
be:
A~"
>
B
8
w
a
:i.
t
30
0
0
9
0
WAIT
3000
9
q
t
o
0
i.
0
0
GOTO
:U)
.1.1
:
end
i
i
0
END
*632?
3-44
Model
5335A

Related product manuals