beautypg.com

15 breakloop instruction, Breakloop instruction – Teledyne LeCroy Voyager Exerciser Generation Script Language Manual User Manual

Page 95

background image

Teledyne LeCroy

Voyager USB 3.0 Exerciser Generation Script Language Reference Manual

86

9.15 BreakLoop Instruction

You can break Loop instruction code execution and jump to the next command after the Loop

instruction. Use this instruction to break a loop when some condition is met.

Note: Currently no conditions are implemented.

Format

BreakLoop

Example

Main

{

# Start a 100 us timer.

StartTimer(

100

)

# Note: Not implemented yet

# Run an infinite loop.

Loop
{

# Break the loop after timer expires.

# Note: If_Condition is not implemented yet.

If_Condition( TIMER ) { BreakLoop }

Send

TX_PACKET

}
}