![Agilent Technologies Agilent 4396B Gpib Programming Manual Download Page 142](http://html.mh-extra.com/html/agilent-technologies/agilent-4396b/agilent-4396b_gpib-programming-manual_2867995142.webp)
Using
the
I/O
P
ort
in
B
ASIC
Programs
The
Instrument
B
ASIC
can
directly
control
the
I/O
port
without
using
GPIB
commands
.
This
is
faster
than
using
the
INP8IO?
and
OUTP8IO
GPIB
commands
.
READIO(15,0)
Reads
the
4-bit
data
from
the
I/O
P
ort
and
returns
a
decimal
value
.
WRITEIO
15,0; data
Outputs
the
decimal
value
of
the
8-bit
data
to
the
OUT
0
to
7
lines
of
the
I/O
port.
The
OUT
0
signal
is
the
LSB
(least
signicant
bit),
while
the
OUT
7
signal
is
the
MSB
(most
signicant
bit).
See
Appendix
B
for
more
information
on
READIO
and
WRITEIO
commands
.
F
or
more
information
on
the
I/O
port,
see
\I/O
port"
in
Chapter
12
of
the
Function
R
eference
.
7-4
Program
I/O