LeCroy Corporation
Scenario Batch Files
372
Sierra M6
‐
2 SAS/SATA Protocol Analyzer User Manual
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.