14 example 6: using timers – Teledyne LeCroy Sierra M6-1 SAS_SATA Protocol Analyzer User Manual User Manual

Page 263

Advertising
background image

    

Sierra M6‐1 SAS/SATA Protocol Analyzer User Manual

261

Example 6: Using Timers

  Teledyne LeCroy

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

Figure 4.29: 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.14

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.

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

(see 

Figure 4.30 on page 262

).

Advertising