Scenario Batch Files
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.
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.
Statements
Statements can be conditional statements or non‐conditional statements.
IfIsStopped
Shows whether a scenario is already stopped or not.
Format
Parameters
Example
The value of second parameter is 5 and shows check stopping mode of combination of
port number 1 and port number 3.
S ierra M6‐2 SAS/SATA Protocol Analyzer User Manual
IfIsStopped (Serial Number, Target Port)
Serial Number: Serial number of hardware
Target Port: Port number in port map
IfIsStopped(ox01267, 1) Then
{
Beep (750, 300)
Run (ox01267," Detect AddressFrame Open", 5)
}
LeCroy Corporation
371