beautypg.com

Goto label – Teledyne LeCroy Sierra M6-2 SAS_SATA Protocol Analyzer User Manual User Manual

Page 394

background image

Teledyne LeCroy

Scenario Batch Files

392

 

 

Sierra M6‐2 SAS/SATA Protocol Analyzer User Manual

The value of second parameter is 5 and shows check stopping mode of combination of
port number 1 and port number 3.

After filling parameters from the Command Parameters Dialog, the program makes the
IF‐ELSE structure in the Script workspace. The ELSE statement is optional. To add an ELSE
body, click Click here to add else body.

Goto Label

Goes to specified label. Labels can be assigned to each script line.

Format

Goto Label3

Parameters

None

Example

Label3: WaitForStop(0x83456, 2, 100))

Run (ox01267," Inject CRC000", 4)

Goto Label7

Note:

You can use a Label and a Goto Label to make loops. First make the label, then make Goto Label.

The Command Parameters window shows only enabled Labels. Labels are disabled by default
and are in gray color. To enable them, click them to make purple color.