beautypg.com

Waitforstop – Teledyne LeCroy STX M6-1 SAS_SATA Protocol Analyzer User Manual User Manual

Page 369

background image

    

Sierra M6‐4 SAS/SATA Protocol Analyzer User Manual

367

Scenario Batch Files

LeCroy Corporation

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