Agilent Technologies 1670G Network Hardware User Manual


 
100
Triggering Examples
Single-Machine Trigger Examples
To trigger on the nth iteration of a loop
Traditional debugging requires print statements around the area of
interest. This is not possible in most embedded systems designs, but
the analyzer lets you view the systems behavior when a particular
event occurs. Suppose that your system behaves incorrectly on the last
iteration of a loop, which, in this instance, happens to be the 10th
iteration. You can use the analyzers triggering capabilities to capture
that iteration and subsequent processor activity.
1 Go to the state analyzers Trigger menu.
2 Define the terms LP_START and LP_END to represent the start
and end addresses of statements in the loop, and LP_EXIT to
represent the first statement executed after the loop terminates.
3 Change State Sequence Level 1s function to "Find event2 n
times after event1 before event3 occurs."
4 In the pop-up, enter the following sequence specification:
While storing anystate Find "LP_START" "9" times after "LP_END" before
"LP_EXIT" occurs.
You should use your value for n-1 instead of "9" in the sequence
specification above.
Trigger Setup for Triggering on the 10th Iteration of a Loop