Chapter 7 7-37
Programming Examples
Measurement Calibration Examples
1730 ! ************************* Subroutines *******************************
1740 !
1750 SUB Waitforkey(Lab$)
1760 ! Position and display prompt on the analyzer display
1770 OUTPUT 717;”PG;PU;PA390,3700;PD;LB”;Lab$;”, PRESS ENTER WHEN READY;”&CHR$(3)
1780 !
1790 DISP Lab$&” Press ENTER when ready”; ! Display prompt on console
1800 INPUT A$ ! Read ENTER keypress on controller
1810 OUTPUT 717;”PG;” ! Clear analyzer display
1820 SUBEND