
Teledyne LeCroy
Scenario Batch Files
428
Sierra M6
‐
2 SAS/SATA Protocol Analyzer User Manual
Note:
Before you run a Scenario Batch file that requests scenarios, you must download the scenarios
to the Scenarios box.
4.15.2 Error Checking
The Script Workspace shows errors by red color. The program reports all errors in the log
file.
If you use a script from other InFusion hardware, it may cause an error, for example,
mismatch in hardware Mac addresses, or scenarios that are not already in current
hardware.
4.15.3 Log
Results of executable batch commands are saved automatically into a log file with user
‐
specified name. The status of executable commands is shown in log area.
4.15.4 Statements
Statements can be conditional statements or non
‐
conditional statements.
IfIsStopped
Shows whether a scenario is already stopped or not.
Format
IfIsStopped (Serial Number, Target Port)
Parameters
Serial
Number
: Serial number of hardware
Target
Port
: Port number in port map
Example
IfIsStopped(ox01267, 1) Then
{
Beep (750, 300)
Run (ox01267," Detect AddressFrame Open", 5)
}
Summary of Contents for Sierra M6-2
Page 37: ...Sierra M6 2 SAS SATA Protocol Analyzer User Manual 35 Expandability Teledyne LeCroy ...
Page 375: ...Sierra M6 2 SAS SATA Protocol Analyzer User Manual 373 Interface Teledyne LeCroy ...
Page 436: ...Teledyne LeCroy Scenario Batch Files 434 Sierra M6 2 SAS SATA Protocol Analyzer User Manual ...
Page 526: ...Teledyne LeCroy 524 Sierra M6 2 SAS SATA Protocol Analyzer User Manual ...