360 OUTPUT 70 7;":MACH1:TWAVEF ORM:REMOVE"
370 OUTPUT 70 7;":MACH1:TWAVEF ORM:INSERT ’COUN T’, ALL"
380 OUTPUT 70 7;":MACH1:TWAVEF ORM:RANGE 1E-6"
390 OUTPUT 707;":MENU 1,5"
400 !
410 ! ****************************************************************
420 ! Set the marker mode (MMODE) to time so that patterns are available
430 ! for marker measurements. Place the X-marker on 03 hex and the O-
440 ! marker on 07 hex. Then tell the timing analyzer to find the first
450 ! occurrence of 03h after the trigger and the first occurrence of 07h
460 ! after the X-marker is found.
470 !
480 OUTPUT 70 7;":MACHINE1:TWA VEFORM:MMODE PAT TERN"
490 !
500 OUTPUT 70 7;":MACHINE1:TWA VEFORM:XPATTERN ’COUNT’,’#H03’"
510 OUTPUT 70 7;":MACHINE1:TWA VEFORM:OPATTERN ’COUNT’,’#H07’"
520 !
530 OUTPUT 70 7;":MACHINE1:TWA VEFORM:XCONDITIO N ENTERING"
540 OUTPUT 70 7;":MACHINE1:TWA VEFORM:OCONDITIO N ENTERING"
550 !
560 OUTPUT 70 7;":MACHINE1:TWA VEFORM:XSEARCH + 1, TRIGGER"
575 WAIT 2
580 OUTPUT 70 7;":MACHINE1:TWA VEFORM:OSEARCH + 1, XMARKER"
595 WAIT 2
600 !
610 ! ****************************************************************
620 ! Run the timing analyzer in single mode.
630 !
640 OUTPUT 70 7;":RMODE SINGLE "
650 OUTPUT 70 7;":START"
660 WAIT 2
650 ! *****************************************************************
660 ! Turn the longform and headers on, dimension a string for the query
670 ! data, send the XOTIME query and print the string containing the
680 ! XOTIME query data.
690 !
700 OUTPUT 70 7;":SYSTEM:LONGF ORM ON"
710 OUTPUT 70 7;":SYSTEM:HEADE R ON"
720 !
730 DIM Mtime$[100]
740 OUTPUT 70 7;":MACHINE1:TWA VEFORM:XOTIME?"
750 ENTER 707;Mtime$
760 PRINT Mtime$
770 END
Programming Examples
Making a Timing Analyzer Measurement43–4