760 OUTPU T 707;":MACH INE1:STRIGGE R:STORE4 ’(C OR D OR IN_RANGE1)’"
770 !
780 ! ************************ NOTE ***********************
790 ! The FIND command selects the trigger in the
800 ! sequence l evel specifi ed as the tr igger level.
810 ! *****************************************************
820 !
830 OUTPU T 707;":MACH INE1:STRIGGE R:FIND4 ’E’,1"
840 !
850 ! ***************** CONFIGURE SEQUENCE LEVEL 5 ***************************
860 ! Store anystate on level 5
870 !
880 OUTPU T 707;":MACH INE1:STRIGGE R:STORE5 ’ANYS TATE’"
890 !
900 ! ***************** START ACQUISITION ************************************
910 ! Place the logic analyzer in single acquisition mode, then determine when
920 ! the acquisition is complete.
930 !
940 OUTPUT 707;": RMODE SINGLE"
950 !OUTPUT 707;"*CLS"
960 OUTPU T 707;":STAR T"
970 !
980 ! ****************** CHECK FOR MEASUREMENT COMPLETE **********************
990 ! Enable the MESR register and query the register for a measurement
1000 ! complete condition.
1010 !
1020 OUTPUT 707; ":SYSTEM:HEA DER OFF"
1030 OUTPUT 707; ":SYSTEM:LON GFORM OFF"
1040 !
1050 Status=0
1060 OUTPUT 707; ":MESE1 1"
1070 OUTPUT 707; ":MESR1?"
1080 ENTER 707;Status
1090 !
1100 ! Print the MESR register status.
1110 !
1120 CLEAR SCREEN
1130 PRINT "Measurement complete status is ";Status
1140 PRINT "0 = not co mplete, 1 = comple te"
1150 ! Repeat the MESR query until measurement is complete.
1160 WAIT 1
1170 IF Status=1 THEN GOTO 1190
1180 GOTO 1070
1190 PRINT TABXY(30,15);"Measurement is complete"
1200 !
Programming Examples
Making a State analyzer measurement36–7