5 goto label – Teledyne LeCroy Sierra M6-1 SAS_SATA Protocol Analyzer User Manual User Manual
Page 282
Advertising

Teledyne LeCroy
Scenario Batch Files
280
Sierra M6‐1 SAS/SATA Protocol Analyzer User Manual
Example
IfIsStopped(ox01267, 1) Then
{
Beep (750, 300)
Run (ox01267," Detect AddressFrame Open", 5)
}
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.
4.21.5
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
Advertising