![HP HP 8924C Application Manual Download Page 326](http://html.mh-extra.com/html/hp/hp-8924c/hp-8924c_application-manual_166201326.webp)
326
N:\mkt\MANUALS\HP8924C\APPMOD\BOOK\chapters\amsrq.fb
Chapter 10, Controlling Program Flow
Controlling Program Flow Procedure
7. Enable the Interrupt.
1. To enable the interrupt in HP BASIC, the following command is executed:
"ENABLE INTR 7;2"
2. After this command is executed, an SRQ from the Test Sets’ HP-IB interface will cause the application
program to branch to the subprogram specified in the ON INTR command (see previous step).
H
P
-IB
Interface Select Code 7
Performs service request
function via SRQ Interface
Message.
Controller HP-IB Interface Card
HP-IB Status Register 4
7
0
1
2
3
4
5
6
SRQ
Received
(Bit 1)
The number 7 is the Interface Select Code for the
Test Set’s HP-IB, and the number 2 is the decimal
equivalent for bit 1, the SRQ Received bit in the
HP-IB Status Register.
SRQ Interface Message