350 !
360 OUTPU T 707;":MACH 1:TWAVEFORM: REMOVE"
370 OUTPU T 707;":MACH 1:TWAVEFORM: INSERT ’COUNT’, AL L"
380 OUTPUT 707;": MACH1:TWAVEF ORM:RANGE 1E-6 "
390 OUTPUT 707;":MENU 1,5"
400 !
410 ! ****************************************************************
420 ! Run the timing analyzer in single mode.
430 !
440 OUTPUT 707;": RMODE SINGLE"
450 OUTPU T 707;":STAR T"
460 !
470 ! ****************************************************************
480 ! Set the marker mode (MMODE) to time so that time tags are available
490 ! for marker measurements. Place the X-marker on 03 hex and the O-
500 ! marker on 07 hex. Then tell the timing analyzer to find the first
510 ! occurrence of 03h after the trigger and the first occurrence of 07h
520 ! after the X-marker is found.
530 !
540 OUTPU T 707;":MACH INE1:TWAVEFO RM:MMODE TIM E"
550 !
560 OUTPU T 707;":MACH INE1:TWAVEFO RM:XPATTERN ’COUNT’,’#H03’"
570 OUTPU T 707;":MACH INE1:TWAVEFO RM:OPATTERN ’COUNT’,’#H07’"
580 !
590 OUTPUT 707;": MACHINE1:TWA VEFORM:XCOND ITION ENTERING "
600 OUTPUT 707;": MACHINE1:TWA VEFORM:OCOND ITION ENTERING "
610 !
620 OUTPU T 707;":MACH INE1:TWAVEFO RM:XSEARCH + 1, TRIGGER"
630 OUTPU T 707;":MACH INE1:TWAVEFO RM:OSEARCH + 1, XMARKER"
640 !
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 707;": SYSTEM:LONGF ORM ON"
710 OUTPUT 707;": SYSTEM:HEADE R ON"
720 !
730 DIM Mtime$[100]
740 OUTPU T 707;":MACH INE1:TWAVEFO RM:XOTIME?"
750 ENTER 707;Mtime$
760 PRINT Mtime$
770 END
Programming Examples
Making a Timing analyzer measurement36–4