Monitoring System Operation
Monitoring System Operation
The following program handles two types of service requests. One of them requests service when the analyzer has completed a sweep. The other requests service when an error occurs in the analyzer. When either request is generated, the computer examines the
Example Enable multiple service requests. Use HP BASIC command, SPOLL, to examine status byte.
10 OPTION BASE 1
20ASSIGN @Sa TO 723
30COM\INSTR\@Sa
40COM Trace_a(800)
50CLEAR @Sa
60OUTPUT @Sa;"IP;SNGLS;TS;"
70ON INTR 7 CALL Interrupt
80ENABLE INTR 7;2
90OUTPUT @Sa;"RQS 36;"
100OUTPUT @Sa;"ST 10S;"
110OUTPUT @Sa;"TS;"
120!
130Idle: GOTO Idle
140!
150END
160!