T
o
Synchronize
External
Handler
with
Analyzer
d
a
c
b
10
!
20
!
Figure
10_2.
Synchronization
of
an
External
Handler
30
!
with
the
Analyzer
40
!
50
ASSIGN
@Hp4396
TO
717
!
When
iBASIC
is
used,
change
"717"
to
"800"
60
!
70
!
80
OUTPUT
@Hp4396;"OUT8IO
8"
90
!
100
REPEAT
!
110
OUTPUT
@Hp4396;"INP8IO?"
!
120
ENTER
@Hp4396;Inpio
!
Waiting
Handler
Response
130
A=BIT(Inpio,3)
!
140
UNTIL
A=1
!
150
!
160
!
170
END
Figure
10-2.
Sample
Program
:
Synchronization
of
an
External
Handler
with
the
Analyzer
Send
Signal
to
the
External
Handler
80
OUTPUT
@Hp4396;"OUT8IO
8"
The
OUT8IO
parameter
command
sets
the
8-bit
data
value
of
the
OUT
0-7
lines
.
The
OUT8IO
8
command
sets
the
OUT
3
line
to
TRUE
(1).
Figure
10-3.
8-Bit
Data
of
OUT0-7
Figure
10-4.
Sending
Signal
to
an
the
External
Handler
10-2
Using
the
Analyzer's
I/O
P
ort