Chapter 5: sierra trainer traffic generation – Teledyne LeCroy Sierra M6-2 SAS_SATA Protocol Analyzer User Manual User Manual

Page 14

Advertising
background image

Teledyne LeCroy

Contents

12

Sierra M6‐2 SAS/SATA Protocol Analyzer User Manual

4.5.2 File Libraries............................................................................................................................................. 350

4.5.3 Device Libraries ....................................................................................................................................... 351

4.6 Scenario Properties............................................................................................................ 351

SATA Smart Hold Option.................................................................................................................. 353

4.7 Scenario Events.................................................................................................................. 354

DWORD Matcher ............................................................................................................................... 357

SAS Data Pattern............................................................................................................................... 357

SATA Data Pattern ............................................................................................................................ 357

4.8 Scenario Actions ................................................................................................................ 358

4.8.1 Available Resources ................................................................................................................................ 360

Using Counters in Events and Actions........................................................................................... 361

Capturing a Data DWORD ................................................................................................................ 362

Using Captured Data DWORDs........................................................................................................ 362

4.8.2 Summary of Scenario Creation .............................................................................................................. 364

4.9 Creating Global Rules ........................................................................................................ 364

4.9.1 Example 1: Creating a Single Event and Action that Removes a Primitive........................................ 365

4.9.2 Example 2: Wait for a Primitive and Replace It with an Error .............................................................. 368

4.9.3 Example 3: Creating OR Conditions ...................................................................................................... 369

4.9.4 Example 4: Multiple Triggers and Actions............................................................................................. 370

4.9.5 Example 5: Multiple Actions on a Single Event .................................................................................... 372

4.9.6 Example 6: Using Timers ........................................................................................................................ 373

4.10 Creating a Sequence ........................................................................................................ 375

4.10.1 Example 7: Creating Two Sequences and Global Rules .................................................................... 376

4.11 Example 8: Creating a Sequence With Many States #1................................................. 382

4.12 Example 9: Creating a Sequence With Many States #2................................................. 385

4.13 Downloading Scenarios ................................................................................................... 387

4.14 Running Scenarios ........................................................................................................... 388

4.15 Scenario Batch Files ........................................................................................................ 388

4.15.1 Script Workspace................................................................................................................................... 389

4.15.2 Error Checking ....................................................................................................................................... 391

4.15.3 Log .......................................................................................................................................................... 391

4.15.4 Statements.............................................................................................................................................. 391

IfIsStopped......................................................................................................................................... 391

Goto Label ......................................................................................................................................... 392

Run ..................................................................................................................................................... 393

Stop .................................................................................................................................................... 394

WaitForStop....................................................................................................................................... 394

Sleep................................................................................................................................................... 395

Beep ................................................................................................................................................... 395

Chapter 5: Sierra Trainer Traffic Generation ....................................................397

5.1 Sierra Trainer Menus .......................................................................................................... 397

5.1.1 File Menu .................................................................................................................................................. 398

Advertising