Language Reference
RQS
RQS | Dene conditions that interrupt computer operation. |
Item | Description |
Range | Integers from 0 { 255 |
Example Set the
100 | ASSIGN | @Sa | TO 723 |
|
|
110 | CLEAR | @Sa |
|
| Initialize analyzer . |
120 | OUTPUT | @Sa;"IP;" |
|
| |
130 | OUTPUT | @Sa;"RQS 4;" |
| Specify bit 2, the | |
140 | OUTPUT | @Sa;"CENTERWL | 750NM;SP 100NM;SNGLS;TS;" | Set measurement range, then sweep it. | |
150 | ON INTR 7 GOTO Srq |
| Go to the subroutine Srq at the end of the sweep . | ||
160 | S=SPOLL(@Sa) |
| Clear previous service requests . | ||
170 | ENABLE INTR 7;2 |
| Prepare to receive interrupt. | ||
180 | OUTPUT @Sa;"VAVG 10;" |
| Begin video averaging, which repeatedly sweeps | ||
|
|
|
|
| the analyzer . |
190 | Wait: | GOTO Wait |
|
| |
200 | Srq: Sbyte=SPOLL(@Sa) |
| Store value of status byte in Sbyte . | ||
210 | Sbyte |
| Print status byte value. | ||
220 | OUTPUT | @Sa;"RQS | 0;" | Clear |