beautypg.com

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

Page 15

background image

    Sierra M6‐4 SAS/SATA Protocol Analyzer User Manual

13

Contents

   Teledyne  LeCroy

4.8.2 Using Counters in Events and Actions.................................................................................................. 360

4.8.3 Capturing a Data DWORD ....................................................................................................................... 361

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

4.8.5 Summary of Scenario Creation .............................................................................................................. 363

4.9 Creating Global Rules ........................................................................................................ 363

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

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

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

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

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

4.9.6 Example 6: Using Timers ........................................................................................................................ 372

4.10 Creating a Sequence ........................................................................................................ 374

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

4.10.2 Example 8: Creating a Sequence With Many States #1...................................................................... 380

4.10.3 Example 9: Creating a Sequence With Many States #2...................................................................... 383

4.11 Downloading Scenarios ................................................................................................... 386

4.12 Running Scenarios ........................................................................................................... 387

4.13 Scenario Batch Files ........................................................................................................ 387

4.13.1 Script Workspace................................................................................................................................... 388

4.13.2 Error Checking ....................................................................................................................................... 390

4.13.3 Log .......................................................................................................................................................... 390

4.13.4 Statements.............................................................................................................................................. 390

IfIsStopped......................................................................................................................................... 390

Goto Label ......................................................................................................................................... 391

Run ..................................................................................................................................................... 392

Stop .................................................................................................................................................... 393

WaitForStop....................................................................................................................................... 393

Sleep................................................................................................................................................... 394

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

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

5.1 Sierra Trainer Menus .......................................................................................................... 398

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

5.1.2 Setup Menu............................................................................................................................................... 399

5.1.3 Generate Menu ......................................................................................................................................... 399

5.1.4 Search Menu............................................................................................................................................. 400

5.1.5 View Menu ................................................................................................................................................ 401

5.1.6 Tools Menu ............................................................................................................................................... 402

5.1.7 Window Menu ........................................................................................................................................... 402

5.1.8 Help Menu ................................................................................................................................................. 402

5.2 Sierra Trainer Main Toolbar ............................................................................................... 402

5.3 Setting Up for Generating Initiator Traffic ........................................................................ 403

5.4 Setting Up for Generating Target Traffic .......................................................................... 403