beautypg.com

18 exit instruction, Exit instruction – Teledyne LeCroy UWBTrainer Exerciser Script Language User Manual

Page 74

background image

LeCroy Corporation

UWBTrainer Exerciser - Generation Script Language Reference Manual

66

9.18 Exit Instruction

You can stop script execution at any time.

Format

Exit

Example

Main

{

# Start the timer with timeout 10 seconds.

StartTimer(

10

*

1000000

)

# Run an infinite loop. User interaction is required to break it.

Loop

{

Send

TX_FRAME

Send

TX_FRAME

If_Condition( TIMER )

{

# Stop script execution after sending frames for 10

# seconds.

Exit

}

}

}