6 example 6: using timers – Teledyne LeCroy Sierra M122 User Manual User Manual

Page 257

Advertising
background image

    

Sierra M122 SAS/SATA Protocol Analyzer User Manual

255

Creating Global Rules

Teledyne  LeCroy

8. Click OK to close the Action Properties dialog box.

Figure 4.31: Example 5: Complete Scenario

9. In the File menu, select Save Scenario to save the scenario. 

This example sets the counter to increment at each occurrence of an ACK (every 1 ACK). 

4.9.6

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 device 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.

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).

1. Click the New Scenario button in the main library or one of the device libraries. In 

the Scenario Properties dialog, enter the scenario name, description, and direction 
of traffic change.

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.

Advertising