EasyManuals Logo

HP 8340b Operating Instructions

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
Page #98 background imageLoading...
Page #98 background image
Here
is
a
BASIC
example
of
reading
the
status
registers:
100
FOR
N
=
0
TO
6
110
STATUS
7,
N;
S
120
PRINT
"STATUS
REGISTER";
N
130
PRINT
140
FOR
J
=
0
TO
7
ISO
PRINT
"BIT";
J;
,
,
=
";BIT;
(S,J)
160
NEXT
J
170
PRINT
180
NEXT
N
Direct
Writing
to
the
HP-IB
Lines
The
final
programming
technique
covered
in
this
manual
involves
direct
writing
to
the
HP-IB
data,
handshake,
and
control
lines.
This
is
very
advanced
programming,
and
should
be
attempted
only
by
experienced
programmers
who
are
thoroughly
familiar
with
the
HP
8340B/41B
and
HP-IB
protocols.
|
CAUTION
J
Bus
malfunctions
or
damage
can
result
from
errant
applications
of
direct
writing
to
HP-IB
lines.
Direct
writing
to
the
HP-IB
lines
is
accomplished
by
the
CONTROL
statement,
which
has
this
syntax:
HP
9826/9836:
~(
»e»°'q
WTH
.s's.
HfQ-H
as
HaK
register
number
c
WRITEIO
>1
interface
select
code
b-GH
register
number
KDH
register
data
The
CONTROL
statement
(ASSERT,
READIO/WRITEIO
are
related
statements
used
by
some
com¬
puters)
is
used
to
send
information
to
the
computer’s
control
registers,
which
have
bit
patterns
that
correspond
to
the
HP-IB
lines.
The
bit
pattern
of
the
control
registers
is
computer
specific;
Figure
3-28
shows
representative
control
registers
from
the
HP
9826
and
HP-85A
computers.
HP
8340B/41B
Operating
Information

Table of Contents

Other manuals for HP 8340b

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the HP 8340b and is the answer not in the manual?

HP 8340b Specifications

General IconGeneral
BrandHP
Model8340b
CategoryInverter
LanguageEnglish

Related product manuals