Programming Examples

Making a State Analyzer Measurement

1170 IF (Status AND 1)=1 THEN GOTO 1190

1180 GOTO 1070

1190 PRINT TABXY(30,15);"Measurement is complete"

1200 !

1210 ! ************************ VIEW THE RESULTS *****************************

1220 ! Display the State Listing and select a line number in the listing that 1230 ! allows you to see the beginning of the listing on the logic analyer 1240 ! display.

1250 !

1260 OUTPUT 707;":MACHINE1:SLIST:COLUMN 1, ’SCOUNT’, DECIMAL"

1270 OUTPUT 707;":MENU 2,7"

1280 OUTPUT 707;":MACHINE1:SLIST:LINE -16"

1290 !

1300 END

18–8