Download SierraNet M408 User Manual

InFusion Scenarios
Note that there is some overlap in the way these counters can be used. For example, in the simple case of a single Event leading to a single Action, it makes no difference whether you specify the Event to require five repeats before triggering the Action, or the Action to require five occurrences before it acts.
However, in the case of combined Events and/or Actions, the separate counters provide flexibility in designing test cases. For example, consider the case where Event_1 OR Event_2 leads to Action. If Event_1 has a counter of 5, then the Action triggers either when Event_1 has repeated five times or when Event_2 happens the first time, whichever occurs first.
But if the Event counters are set to 1 and the Action counter is set to 5, then the Action happens after five occurrences of EITHER Event_1 or Event_2.
Capturing a Data Dword
InFusion provides the ability to capture individual data dwords and provides different registers to store captured dwords. When your detector is DWord Matcher you can use Dword #0, #1, #2 and #3 and when your detector is Pattern Detector you can use Dword #4, #5, #6 and #7. When trying to use the captured dword, for example in Replace Dword Action, you can actually select from 8 captured dwords, numbered 0 through 7. To capture a data dword, select Capture Dword from the Action Properties screen (see Figure 4.12 on page 193). Select the location you would like the captured Dword to be stored in, so it can be used in a later replacement or insertion.
Figure 4.12: Capture Data Dword Action
Using Captured Data Dwords
Captured data dwords can be used in creating Events for data that match the captured dword(s), or in creating Actions to substitute or insert the captured dword(s) into the data stream.
To create an Event using the captured dword, in the Add Event dialog (see Figure 4.13 on page 194), select Dword Matcher and change the Type to the desired Captured Dword SierraNet M408 Protocol Analyzer User Manual