Loops – Teledyne LeCroy SAS Suite User Manual User Manual

Page 237

Advertising
background image

SASSuite User Manual

Version 6.25

LeCroy Corporation

227

Loops

Loops can be used in two modes:

1. Using an integer number, loop a specified number of loops. This number has to be

smaller than 64K.

2. Using the word "infinite", loops for ever.

Loops ( loop_count/Infinite )
{
send instructions
assignments
change values
send instructions
}

E

XAMPLE

:

LOOP( 50 )
{
"CHAIN (ONE)"
"CHAIN (TWO)"
Some_Frame
$Y = Some_Frame { Data = 256, 0xFEFEFEFE }
Y
Change Y { Field32 = x }
Y
Y
}

Advertising