beautypg.com

Statements – Teledyne LeCroy SierraFC M8-4 User Manual User Manual

Page 319

background image

    

SierraFC M8‐4 Protocol Analyzer User Manual

319

Scenario Batch Files

 Teledyne LeCroy

Log

Results of executable batch commands are saved automatically into a log file with the 
user‐specified name. The status of executable commands is shown in the log area.

Statements

Statements can be conditional statements or non‐conditional statements.

IfIsStopped

Shows whether a Scenario is already stopped or not.

Format

IfIsStopped (Serial Number, Responder Port)

Parameters

Serial Number: Serial number of hardware

PortMap: Port number in port map

Example

IfIsStopped(ox01267, 1) Then

{

Beep (750, 300)

Run (ox01267," Detect AddressFrame Open", 5)

}

Goto Label

Goes to the 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