beautypg.com

Example 6: using timers, Figure 68 example 5: complete scenario – Teledyne LeCroy SAS_SATA InFusion - Users Manual User Manual

Page 77

background image

SAS InFusion User Manual

Version 2.0

LeCroy Corporation

63

Figure 68

Example 5: Complete Scenario

Example 6:

Using

Timers

In this example, the Global Rules portion of the scenario waits for an ACK primitive from
the initiator. Each time the box detects an ACK, it injects an RD Error into the traffic
stream. This state continues for a random period of time, not to exceed 1.790 seconds.
After the time period has elapsed (timer times out), the scenario stops.

Note: Although this example sets the timer for a random period, you also

can set the timer for known values (2 ms., 5 mins., 1 hr., and so on).

Step 1

Click the New Scenario button in the main library or one of the
device libraries. At the top of the scenario area, enter general
scenario information, including scenario name, description, and
direction of traffic change.

Note: For an example of filling-in the general scenario information

fields, see Figure 41 and Figure 42.

Step 2

As in previous examples, configure the first event and its
response in the Global Rules area. Choose ACK primitive as the
event, and Inject RD Error as the action.

Step 3

Click on the prompt to add another event (keep in mind this is
not a combined event) (Figure 69).