
780   ! ************************ NOTE ***********************
790   !      The FIND command selects the trigger in the
800   !      se quence level spe cified as the tr igger level.
810   ! *****************************************************
820   !
830   OUTPUT 70 7;":MACHINE1:STR IGGER:FIND4 ’E’, 1"
840   !
850   ! ***************** CONFIGURE SEQUENCE LEVEL 5 ***************************
860   ! Store anystate on level 5
870   !
880   OUTPUT 70 7;":MACHINE1:STR IGGER:STORE5 ’AN YSTATE’"
890   !
900   ! ***************** START ACQUISITION ************************************
910   ! Place the logic analyzer in single acquisition mode, then determine when
920   ! the acquisition is complete.
930   !
940   OUTPUT 70 7;":RMODE SINGLE "
950   OUTPUT 707;"*CLS"
960   OUTPUT 70 7;":START"
970   !
980   ! ****************** CHECK FOR MEASUREMENT COMPLETE **********************
990   ! Query the register for a measurement
1000  ! complete condition.
1010  !
1020  OUTPUT 70 7;":SYSTEM:HEADE R OFF"
1030  OUTPUT 70 7;":SYSTEM:LONGF ORM OFF"
1040  !
1050  Status=0
1070  OUTPUT 70 7;":MESR1?"
1080  ENTER 707;Status
1090  !
1100  ! Print the MESR register status.
1110  !
1120  CLEAR SCREEN
1130  PRINT "Measurement complete status is ";Status AND 1
1140  PRINT "0  = not complete,  1 = complete"
1150  ! Repeat the MESR query until measurement is complete.
1160  WAIT 1
1170  IF (Statu s 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 analyzer
Programming Examples
Making a State Analyzer Measurement43–7