beautypg.com

Teledyne LeCroy UWBTrainer Exerciser Script Language User Manual

Page 118

background image

LeCroy Corporation

UWBTrainer Exerciser - Generation Script Language Reference Manual

110

#=================================================#
# Main Generation Procedure #
#=================================================#

Main

{

# parser numeric variables

dest_address =

0x0080

host_address =

0xBEEF

endpoint =

4

direction = IN

# parser for loop

for

( i =

0

, i <

2

, i++ )

{

# parser if directive

if

( i ==

1

)

{
host_address =

0xABCD

endpoint =

5

}

# parser Call

of another generation procedure

Call

Inquiry( host_address, dest_address, endpoint, direction )

}

}