Triggering

To trigger on a loop that occasionally runs too long

To trigger on a loop that occasionally runs too long

This example assumes the loop normally executes in 14 μs.

1Select the state analyzer Trigger menu.

2Define terms LP_START, LP_END, and Timer1 to represent the start and end addresses of the loop, and the normal duration of the loop.

You can make the sequence specification closer to the problem domain by renaming Timer1 to LOOP_DUR.

3Under State Sequence Levels, enter the following sequence specification:

While storing “anystate” Find “LP_START” 1 time

While storing “anystate” TRIGGER on “LOOP_DUR 14.00 μs” 1 time Else on “LP_END” go to level 1

You will need to start the LOOP_DUR timer (Timer1) upon entering this state. You do this using the Timer Control field in the menu for sequence level 2.

Store “anystate”

Triggering on a Loop Overrun

1–11

Page 21
Image 21
HP 16500C, 16501A LOGIC manual To trigger on a loop that occasionally runs too long