Language Reference
STB | Return value of |
Example Monitor
10 | CLEAR 723 | Preset spectrum | analyzer. |
| |||
20 | OUTPUT | 723;"IP;CLRDSP;" |
|
|
|
|
|
30 | OUTPUT | 723;"SNGLS;" | Activate |
| |||
40 | OUTPUT | 723;"CLS;" | Clear |
| |||
50 | OUTPUT | 723;"TS;" | Sweep spectrum | analyzer. |
| ||
60 | OUTPUT | 723;"STB?;" | Query | status | of | status byte, then clear it. | The |
|
|
| value | queried | is the sum of 16 (command | com- | |
|
|
| plete), | 4 (end | of | sweep), and 1 (trigger armed), | |
|
|
| which equals | 21. |
|
| |
70 | ENTER | 723;N | Assign value to computer . |
| |||
80 | OUTPUT 723;"STB?;" | Query status | of status byte. Value queried is 16 | ||||
|
|
| (command complete), since this is the only task | ||||
|
|
| the spectrum | analyzer has performed since the | |||
|
|
| status byte was cleared in line 60. |
|
90ENTER 723;M
100DISP N,M
Description Use the STB command to monitor spectrum analyzer operation. Certain
Use STB to monitor