2 sequence creation – Teledyne LeCroy SierraNet M168 User Manual Ver.1.50 User Manual

Page 226

Advertising
background image

Teledyne LeCroy

Scenario Example

224

 

 

SierraNet M168 Protocol Analyzer User Manual

Figure 4.21: Complete Scenario of Insert DWORD Matcher

4.6.2

Sequence Creation

A sequence can have multiple states, but only one state is active at any time. In other 
words, at any point in time, a sequence “waits” for one Event (or Combined Event) and 
responds with the corresponding Action or set of Actions when the Event occurs. 

A sequence is more powerful than Global Rules, because you can create branching or 
looping test logic with a sequence.You can include up to two sequences in a Scenario, but 
each is completely independent of the other. There is no branching or other interaction 
between the two, except through the Restart All Sequences Action.

You must follow some simple rules when creating sequences:

TABLE 4.6: Sequence Rules

You can use only two branch Actions per state.
When you specify Actions for a state, you can only use two instances of Branch to an 
Existing State
 or Branch to a New State. If you try to use more than two, a red error 
message appears in the status area of the application that says “Too Many Actions.”
You can use only one restart sequence Action per state.
When you specify Actions for a state, you can only use one instance of Restart 
Current Sequence
 or Restart All Sequences. If you try to use more than one, a red 
error message appears in the status area of the application that says “Too Many 
Actions.”

Advertising