HP 16554A Programmer's Manual page 306

State/timing logic analyzers
Table of Contents

Advertisement

Programming Examples
Making a Timing Analyzer Measurement
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 2,5"
400
!
410
! ****************************************************************
420
! Run the timing analyzer in single mode.
430
!
440
OUTPUT 707;":RMODE SINGLE"
450
OUTPUT 707;":START"
460
!
470
! ****************************************************************
480
! Set the marker mode (MMODE) to time so that patterns are available
490
! for marker measurements.
500
! marker on 07 hex.
510
! occurrence of 03h after the trigger and the first occurrence of 07h
520
! after the X-marker is found.
530
!
540
OUTPUT 707;":MACHINE1:TWAVEFORM:MMODE PATTERN"
550
!
560
OUTPUT 707;":MACHINE1:TWAVEFORM:XPATTERN 'COUNT','#H03'"
570
OUTPUT 707;":MACHINE1:TWAVEFORM:OPATTERN 'COUNT','#H07'"
580
!
590
OUTPUT 707;":MACHINE1:TWAVEFORM:XCONDITION ENTERING"
600
OUTPUT 707;":MACHINE1:TWAVEFORM:OCONDITION ENTERING"
610
!
620
OUTPUT 707;":MACHINE1:TWAVEFORM:XSEARCH +1, TRIGGER"
625
WAIT 2
630
OUTPUT 707;":MACHINE1:TWAVEFORM:OSEARCH +1, XMARKER"
635
WAIT 2
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: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
18–4
Place the X-marker on 03 hex and the O-
Then tell the timing analyzer to find the first

Advertisement

Table of Contents
loading

This manual is also suitable for:

16555d16555a

Table of Contents