Language Reference
READMENU
READMENU Build an interactive set of key functions.
Item | Description |
Integers, 1 { 14 |
Example
120 | CLEAR | 723 |
| Initialize analyzer . |
|
| ||
130 | OUTPUT | 723;"IP;" |
|
|
|
|
|
|
140 | OUTPUT 723;"VARDEF KEY,0;" |
| Dene a variable for storing the number of the | |||||
|
|
|
| key that was last pressed. |
|
| ||
150 | OUTPUT 723;"REPEAT;"; |
| Begin repeat loop . |
|
| |||
155 | OUTPUT 723;"PA 400,700;"; |
| Position pen. |
|
|
| ||
156 | OUTPUT 723;"TEXT @EXIT KEY ENDS REPEAT LOOP.@;"; |
|
|
|
|
| ||
160 | OUTPUT 723;"READMENU KEY,"; |
| Select a | KEY, where | the | |||
|
|
|
| number of the key can be stored when it is | ||||
|
|
|
| pressed. | The keys are dened | in the next | pro- | |
|
|
|
| gram lines. |
|
|
| |
170 | OUTPUT 723;"1,%SET SPAN%,"; |
| FFFFFFFFFFFFFFFFFFFFF |
|
|
| ||
| SET SPAN is key number 1. |
|
| |||||
180 | OUTPUT 723;"2,%EXPAND RANGE%,"; | FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF |
|
| ||||
EXPAND RANGE | is key number 2. |
| ||||||
190 | OUTPUT 723;"14,%EXIT | %;"; | FFFFFFFFFFFF |
|
|
|
| |
EXIT is key number 14. |
|
| ||||||
200 | OUTPUT 723;"IF KEY,EQ,1;"; |
| If KEY equals 1, set measurement range to mea- | |||||
|
|
|
| sure the calibrator signal. |
|
| ||
210 | OUTPUT 723;"THEN;CENTERWL 750NM;SP 100NM;"; |
|
|
|
|
|