beautypg.com

Stop, Waitforstop – Teledyne LeCroy Sierra M6-4 SAS_SATA Protocol Analyzer User Manual User Manual

Page 397

background image

    

Sierra M6‐4 SAS/SATA Protocol Analyzer User Manual

393

Scenario Batch Files

Teledyne LeCroy

Parameters

Serial Number: Serial number of hardware

Scenario Name: Name of scenario

Target Port: Port number in port map

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)