Scenario Batch Files
Example
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
Parameters
Serial Number: Serial number of hardware
Target Port: Port number in port map
Example
WaitForStop
Used to wait for occurrence of specified condition.
Format
WaitForStop(SerialNumber, Target Port, Duration)
Parameters
Example
Sierra M6‐2 SAS/SATA Protocol Analyzer User Manual
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)
Stop (Serial Number, Target Port)
Run (ox00820,"Inject CRC000", 2)
Beep(700, 500)
Stop (ox00820, 2)
Goto Label3
...
Label3 : Run(ox005007,"Detect DATA", 8)
Sleep(40)
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.
Run (ox001267,"Detect AddressFrame Open", 2)
WaitForStop (0x348790, 2, Forever)
Run (ox005007,"Detect DATA", 4)
Teledyne LeCroy
431