beautypg.com

Waitforstop – Teledyne LeCroy Sierra M122 User Manual User Manual

Page 278

background image

Teledyne LeCroy

Scenario Batch Files

276

 

 

Sierra M122 SAS/SATA Protocol Analyzer User Manual

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)

WaitForStop(ox005007, 4, 100)

Stop (ox001267, 2