HP 4262A Operating And Service Manual page 95

Digital lcr meter
Hide thumbs Also See for 4262A:
Table of Contents

Advertisement

Section IV
Test Program 3
Model 4262A
PERFORMANCE TESTS
4-28
TEST PROGRAM 3
[PURPOSE]
This test verifies that 4262A notifies system controller of the Request Status (RQS)
and that demands
of the Service Request (SRQ)
are processed according to
pro-
grammed service routing.
[PROGRAMMING]
prt
"MEASURED
DATA
RECEIVED
oni
7,"SRQ"
rem
7
1)
cli
7
clr
717
wrt
717,"H3D1T3";wait
1000
trg
717
"LOOP":eir
7,128
if
bit(0,B)=1l;g9to
"READ"
9:
gto
"LOOP"
10:
"SRQ":rds(717)+8
5)
11:
if
bit(6,B)=1;jmp
2
12:
prt
"OTHER
DEVICE
SRQ";spc
3
13:
"IRET":eir
7,128
14:
iret
15:
"READ":red
717,A,B
16:
flt
3;prt
"LCR
DATA=",a,
"DQ
DATA=",B
7)
17:
spc
3
18:
end
*22913
8)
10)
11)
-DATA
READY
RQS
MODE";spc
3
Designates label (SRQ) for service routing to be
performed when
an interrupt is set by a device
on select code 7 Bus Line.
Addresses calculator to talk and 4262A to listen.
Program
code string set device: TEST SIGNAL
10kHz,
Data Ready
RQS
Mode
to ON
(ref to
Para 3-70), and TRIGGER to HOLD/MANUAL.
Labels
LOOP.
Enables
Service
Request
to be
sent
from
device on select code
7 Bus
Line.
Checks
status
of SRQ
line on
the Bus
Line.
If the last bit of Status Byte (corresponding to
Data Ready — ref to Para 3-70) is 1, goes to pro-
gram step 15 labeled READ.
Note
When status of the SRQ line becomes
1, the
programming
sequence
phase
changes from cycling through steps 7,
8, and 9 and successively goes to step
10. Steps 10 through 14 comprise the
service
routing
to
process
interrupt
(Service
Request)
phase.
See
Figure
4-11 for programming flow diagram.
Labels
SRQ.
Takes
Status
Byte
responding
to
serial poll of calculator and stores data in regis-
ter B.
Verifies that SRQ YES/NO
line of Status Byte is
actually 1 (ref to Para 3-70).

Advertisement

Table of Contents
loading

Table of Contents