EasyManua.ls Logo

HP 8340b - Page 80

HP 8340b
119 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...
Bit
4:
RF
is
unlocked
(UNLK
appears
in
the
ENTRY
DISPLAY).
Use
OF
to
determine
the
source
of
the
unlocked
output.
This
bit
remains
latched
until
this
status
byte
has
been
read,
or
until
cleared
by
the
CS
or
CLEAR
719
commands.
Bit
5:
AC
line
power
interruption
has
occurred
since
the
last
Instrument
Preset.
This
bit
also
remains
latched
until
read
or
cleared.
Bit
6:
RF
is
unleveled
(use
OR
to
determine
present
power
level).
This
bit
also
remains
latched
until
read
or
cleared.
Bit
7:
FAULT
annunciator
is
on
(seen
in
the
ENTRY
DISPLAY
of
the
HP
8340B/41B).
Use
OF
to
determine
the
cause
of
the
fault.
A
BASIC
example:
10
REM
CLEAR
(RESET
TQ
ZERO)
BOTH
STATUS
BYTES
20
OUTPUT
719;
"CS"
100
OUTPUT
719;
,,
0
S
H
110
ENTER
719
USING
"#,
B"?
SI,
S2
120
S
=
SI
130
FOR
K
=
1
TO
2
140
PRINT
"STATUS
BYTE";
K
ISO
FOR
N
=
0
TO
7
160
PRINT"BIT";N;"=";BITS(S,N)
170
NEXT
N
180
S
=
S2
190
NEXT
K
Line
110
is
a
formatted
I/O
statement,
where
#
suppresses
the
end-of-line
sequence
(to
avoid
misinterpreting
valid
data
as
an
EOL
sequence),
and
B
indicates
that
each
of
the
following
vari¬
ables
(arbitrary
variables
SI
and
S2)
should
be
filled
with
one
byte
of
information.
Line
160
deter¬
mines
each
bit
of
the
status
bytes,
status
byte
1
first
(S
=
SI,
N
=
0
to
7)
then
status
byte
2
(S
S2,
N
=
0
to
7).
Programming
codes
RM
and
RE
explain
how
the
status
bytes
can
be
masked.
RBb
Remote
knoB,
allows
the
rotary
knob
of
other
instruments
(computers,
network
analyzers)
to
control
the
active
function
of
the
HP
8340B/41B.
The
knob
is
sometimes
called
an
RPG
(rotary
pulse
generator)
or
cursor
wheel
in
the
manual
of
other
instruments.
Here
is
a
demonstration
program
for
the
HP
9826/9836
(926/936)
series
of
computers:
10
REM
PRINT
TO
THE
CRT,
NOT
THE
LI
NE
PR
INTER
20
PRINTER
IS
1
30
OUTPUT
719;
"IP
CWI
GZ"
40
ON
KNOB
.
075
GOSUB
60
50
GOTO
50
60
Count
=
KNOBX
70
PRINT
"KNOB
COUNT
=";
Count
80
OUTPUT
719;
"RB"
&
CHR$
(Count)
90
RETURN
100
END
Line
30
establishes
CW
as
the
active
function,
with
an
initial
value
fo
1.0
GHz.
ON
KNOB
in
line
40
instructs
the
computer
to
detect
any
rotation
of
the
knob.
The
computer’s
knob
generates
120
pulses
per
revolution;
when
the
first
pulse
is
detected,
line
40
starts
a
sampling-time
clock
(75
milliseconds
in
this
example)
and
branches
to
the
subroutine
located
at
line
60.
HP
8340B/41B
Operating
Information
3-77

Table of Contents

Other manuals for HP 8340b

Related product manuals