Programming Examples

Making a Timing Analyzer Measurement

Making a Timing Analyzer Measurement

This program sets up the logic analyzer to make a simple timing analyzer measurement. This example can be used with E2422-60004 Logic Analyzer Training board to acquire and display the output of the ripple counter. It can also be modified to make any timing analyzer measurement.

10 ! ****************** TIMING ANALYZER EXAMPLE ******************

20!for the HP 16554A/HP 16555A/HP 16555D Logic Analyzer

30!

40! **************************************************************

50! Select the module slot in which the HP 16554A/HP 16555A/D is installed.

60! In this example, it is in slot B of the mainframe.

70!

80OUTPUT 707;":SELECT 2"

90!

100! **************************************************************

110! Name Machine 1 "TIMING," configure Machine 1 as a timing analyzer,

120! and assign pod 1 to Machine 1.

130!

140OUTPUT 707;":MACH1:NAME ’TIMING’"

150OUTPUT 707;":MACH1:TYPE TIMING"

160OUTPUT 707;":MACH1:ASSIGN 1"

170!

180! **************************************************************

190! Make a label "COUNT," give the label a positive polarity, and

200! assign the lower 8 bits.

210!

220OUTPUT 707;":MACHINE1:TFORMAT:REMOVE ALL"

230OUTPUT 707;":MACH1:TFORMAT:LABEL ’COUNT’,POS,0,0,#B0000000011111111"

240!

250! **************************************************************

260! Specify FF hex for resource term A, which is the default

270! trigger term for the timing analyzer.

280!

290OUTPUT 707;":MACH1:TTRACE:TERM A, ’COUNT’, ’#HFF’"

300!

310! ***************************************************************

320! Remove any previously inserted labels, insert the "COUNT"

330! label, change the seconds-per-division to 100 ns, and display the

340! waveform menu.

350!

18–3