beautypg.com

Appendix a: creating a pattern generator file – Teledyne LeCroy Sierra M6-1 SAS_SATA Protocol Analyzer User Manual User Manual

Page 13

background image

    Sierra M6‐1 SAS/SATA Protocol Analyzer User Manual

11

Contents

    Teledyne LeCroy

SATA Smart Hold Option.................................................................................................................. 241

4.5 Scenario Events.................................................................................................................. 242

4.5.1 DWORD Matcher .......................................................................................................................................245

4.5.2 SAS Data Pattern ......................................................................................................................................245

4.5.3 SATA Data Pattern ....................................................................................................................................245

4.6 Scenario Actions ................................................................................................................ 246

4.6.1 Available Resources .................................................................................................................................248

4.6.2 Using Counters in Events and Actions...................................................................................................249

4.6.3 Capturing a Data DWORD ........................................................................................................................250

4.6.4 Using Captured Data DWORDs................................................................................................................250

4.7 Summary of Scenario Creation ......................................................................................... 252

4.8 Creating Global Rules ........................................................................................................ 252

4.9 Example 1: Creating a Single Event and Action that Removes a Primitive .................. 253

4.10 Example 2: Wait for a Primitive and Replace It with an Error....................................... 256

4.11 Example 3: Creating OR Conditions ............................................................................... 257

4.12 Example 4: Multiple Triggers and Actions ..................................................................... 258

4.13 Example 5: Multiple Actions on a Single Event ............................................................. 260

4.14 Example 6: Using Timers ................................................................................................. 261

4.15 Creating a Sequence ........................................................................................................ 263

4.16 Example 7: Creating Two Sequences and Global Rules............................................... 264

4.17 Example 8: Creating a Sequence With Many States #1 ................................................ 269

4.18 Example 9: Creating a Sequence With Many States #2 ................................................ 273

4.19 Downloading Scenarios ................................................................................................... 275

4.20 Running Scenarios ........................................................................................................... 276

4.21 Scenario Batch Files ........................................................................................................ 276

4.21.1 Script Workspace....................................................................................................................................277

4.21.2 Error Checking ........................................................................................................................................279

4.21.3 Log ...........................................................................................................................................................279

4.21.4 Statements...............................................................................................................................................279

IfIsStopped......................................................................................................................................... 279

4.21.5 Goto Label ...............................................................................................................................................280

4.21.6 Run ...........................................................................................................................................................281

4.21.7 Stop ..........................................................................................................................................................282

4.21.8 WaitForStop.............................................................................................................................................282

4.21.9 Beep .........................................................................................................................................................284

Appendix A: Creating a Pattern Generator File................................................285

5.1 Key words............................................................................................................................ 285