
Sierra M6
‐
2 SAS/SATA Protocol Analyzer User Manual
431
Scenario Batch Files
Teledyne LeCroy
Example
Run (ox841200," Substitute address frame", 4)
Beep(800, 400)
Run (ox841200," CRC Inject _ Play CD", 8)
WaitForStop(0x63463, 1, 150)
Run (ox841200," Remove Send Cue Sheet", 2)
Goto Label6
Run (S/N: 12871, Port 1, DISCOVER)
Note:
If the selected ports are busy, scenario cannot run, and the command will be skipped. The result
will be written in Log area.
Stop
Stops running scenario by hardware and port name.
Format
Stop (Serial Number, Target Port)
Parameters
Serial
Number
: Serial number of hardware
Target
Port
: Port number in port map
Example
Run (ox00820,"Inject CRC000", 2)
Beep(700, 500)
Stop (ox00820, 2)
Goto Label3
...
Label3 : Run(ox005007,"Detect DATA", 8)
Sleep(40)
WaitForStop
Used to wait for occurrence of specified condition.
Format
WaitForStop(SerialNumber, Target Port, Duration)
Parameters
Serial
Number
: Serial number of hardware
Target
Port
: Port number in port map
Duration
: Integer or random duration in milliseconds. In the Command Parame
‐
ters Window, WaitForStop duration has three options:
Infinite
: Wait until
Stop
command.
Random
: Stop after a random time.
Finite
time
: Stop after specified time in milliseconds.
Example
Run (ox001267,"Detect AddressFrame Open", 2)
WaitForStop (0x348790, 2, Forever)
Run (ox005007,"Detect DATA", 4)
Summary of Contents for Sierra M6-2
Page 37: ...Sierra M6 2 SAS SATA Protocol Analyzer User Manual 35 Expandability Teledyne LeCroy ...
Page 375: ...Sierra M6 2 SAS SATA Protocol Analyzer User Manual 373 Interface Teledyne LeCroy ...
Page 436: ...Teledyne LeCroy Scenario Batch Files 434 Sierra M6 2 SAS SATA Protocol Analyzer User Manual ...
Page 526: ...Teledyne LeCroy 524 Sierra M6 2 SAS SATA Protocol Analyzer User Manual ...