6 global rules, 7 sequences – Teledyne LeCroy SierraNet M168 User Manual Ver.1.40 User Manual
Page 211

SierraNet M168 Protocol Analyzer User Manual
209
InFusion Scenarios
LeCroy Corporation
Because the pattern can be inside or outside of frames, there is no offset.
You can make user‐defined ordered‐sets. (This is the reason this feature was cre‐
ated.)
You can use any K/D pattern.
4.5.6
Global Rules
Global Rules are a portion of the Scenario that can define only one test state. To create
the Global Rules, you use the menu‐driven interface to enter an Event or Combined Event
and the corresponding Action or set of Actions (the response of InFusion hardware to the
Event).
In the case of a Combined Event, the Action is taken upon occurrence of any of the Events
stated for the Event combination. It is a logical OR association, meaning any of the Events
can trigger the Action.
After you enter the Event or Combined Event, the interface prompts you for Actions. An
Action might be, for example, injecting a particular ordered‐set or error into the traffic
stream. You can enter multiple Actions, which take place simultaneously. If one of the
Actions is Stop Scenario, the other Actions will NOT be carried out. To stop the Scenario
after the requested Actions have been carried out, you should branch to a new state
which stops the Scenario.
After defining the Event and Actions within the Global Rules panel, you can save the
Scenario and run it.
4.5.7
Sequences
The Global Rules are all you need for simple test Scenarios. However, a Scenario also can
contain one or two sequences, which can define multiple states and allow branching
between states. With a sequence, you also can do looping, which allows you to repeat a
test state or to execute a test for a specified period of time.
As with Global Rules, the menu‐driven interface guides you in building a sequence. Some
of the prompts are different, however, because you now are encapsulating groups of
Events and Actions as distinct states. Recall that a state is a combination of Events and
Actions at a specific point in time. If the Event or Combined Event defined by a state
occurs, the corresponding Action or set of Actions follows. You can enter multiple Actions,
which take place simultaneously. If one of the Actions is Stop Scenario, the other Actions
will NOT be carried out. To stop the Scenario after the requested Actions have been
carried out, you should branch to a new state which stops the Scenario.
InFusion hardware provides the capacity to have up to two sequences co‐existing in a
Scenario in addition to the Global Rules. Recall that both the Global Rules and any
sequences are active at all times. Each is a separate “state machine,” having the behavior
of a particular test state at any point in time. Because the Global Rules has the capacity
for only one state, you can view it as a “degenerative state machine.”