To Trigger On Entry To A Function - Agilent Technologies 1670G Series User Manual

Logic analyzers
Hide thumbs Also See for 1670G Series:
Table of Contents

Advertisement

Triggering Examples
Single-Machine Trigger Examples

To trigger on entry to a function

This sequence triggers on entry to a function only when it is called by
one particular function.
1 Go to the state analyzer's Trigger menu.
2 Define the terms F1_START and F1_END to represent the start
and end addresses of the calling function. Define F2_START to
represent the start address of the called function.
3 Change State Sequence Level 1's function to "Find event2 n
times after event1 before event3 occurs."
4 In the pop-up menu, enter the following sequence specification:
• While storing anystate Find "F2_START" "1" times after "F1_START"
before "F1_END" occurs.
This sequence specification assumes there is some conditional logic in
function F1 that chooses whether or not to call function F2. Thus, if F1
ends without the analyzer having seen F2, the sequence restarts.
104

Advertisement

Table of Contents
loading

Table of Contents