Agilent Technologies 1670G Printer Accessories User Manual


 
360 OUTPUT 707;":MACH1:TWAVEFORM:REMOVE"
370 OUTPUT 707;":MACH1:TWAVEFORM:INSERT ’COUNT’, ALL"
380 OUTPUT 707;":MACH1:TWAVEFORM: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 707;":MACHINE1:TWAVEFORM:MMODE PATTERN"
490 !
500 OUTPUT 707;":MACHINE1:TWAVEFORM:XPATTERN ’COUNT’,’#H03’"
510 OUTPUT 707;":MACHINE1:TWAVEFORM:OPATTERN ’COUNT’,’#H07’"
520 !
530 OUTPUT 707;":MACHINE1:TWAVEFORM:XCONDITION ENTERING"
540 OUTPUT 707;":MACHINE1:TWAVEFORM:OCONDITION ENTERING"
550 !
560 OUTPUT 707;":MACHINE1:TWAVEFORM:XSEARCH +1, TRIGGER"
575 WAIT 2
580 OUTPUT 707;":MACHINE1:TWAVEFORM:OSEARCH +1, XMARKER"
595 WAIT 2
600 !
610 ! ****************************************************************
620 ! Run the timing analyzer in single mode.
630 !
640 OUTPUT 707;":RMODE SINGLE"
650 OUTPUT 707;":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 707;":SYSTEM:LONGFORM ON"
710 OUTPUT 707;":SYSTEM:HEADER ON"
720 !
730 DIM Mtime$[100]
740 OUTPUT 707;":MACHINE1:TWAVEFORM:XOTIME?"
750 ENTER 707;Mtime$
760 PRINT Mtime$
770 END
Programming Examples
Making a Timing Analyzer Measurement
43–4