Programming the HP 16554A/ HP 16555A/HP 16555D

Programming the Logic Analyzer

The following example program sets up the logic analyzer to make a simple timing analyzer measurement.

Example

10

OUTPUT XXX;":SELECT 3"

20OUTPUT XXX;":MACH1:NAME ’TIMING’"

30OUTPUT XXX;":MACH1:TYPE TIMING"

40OUTPUT XXX;":MACH1:ASSIGN 1"

50OUTPUT XXX;":MACH1:TFORMAT:LABEL ’COUNT’,POS,0,0,255"

60OUTPUT XXX;":MACH1:TTRIGGER:TERM A, ’COUNT’, ’#HFF’"

70OUTPUT XXX;":MACH1:TWAVEFORM:RANGE 1E6"

80OUTPUT XXX;":MENU 3,5"

90OUTPUT XXX;":MACH1:TWAVEFORM:INSERT ’COUNT’"

100OUTPUT XXX;":RMODE SINGLE"

110OUTPUT XXX;":START"

120END

The three Xs (XXX) after the "OUTPUT" statements in the previous example refer to the device address required for programming over either HP-IB or RS-232-C. Refer to your controller manual and programming language reference manual for information on initializing the interface.

Program Comments

Line 10 selects the logic analyzer in slot C.

Line 20 names machine (analyzer) 1 "TIMING".

Line 30 specifies machine 1 is a timing analyzer.

Line 40 assigns pods 1 and 2 to machine 1.

Line 50 sets up the Timing Format menu by assigning the label COUNT, and assigning a polarity and channels to the label.

Line 60 selects the trigger pattern for the timing analyzer.

Line 70 sets the range to 100 ns (10 times s/div).

Line 80 changes the onscreen display to the Timing Waveforms menu.

Line 90 inserts the label "COUNT" in the Timing Waveform menu.

Line 100 specifies the Single run mode.

Line 110 starts data acquisition.

For more information on the specific logic analyzer commands, refer to chapters 2 through 17.

1–4