beautypg.com

Teledyne LeCroy UWBTrainer Exerciser Script Language User Manual

Page 48

background image

LeCroy Corporation

UWBTrainer Exerciser - Generation Script Language Reference Manual

40

To send a TX_Frame with SFOffset = 170 us without any Nanosecond adjustment, Indicate the
beginning of a Burst, and Override TFC/BG:

Send TX_FRAME( UNDEFINED,

170

, UNDEFINED,

0

, ON, OVR_TFC )

To send a TX_Frame with Absolute Time = 250 us and Override All:

Send TX_FRAME(

AbsTime

=

250

,

Override

= OVR_ALL )

Examples

Main

{

# Send a frame based on the template 'TX_FRAME'

# using default values.

Send

TX_FRAME

# Send a frame based on the template 'TX_FRAME'

# using default values overriding some default

# instruction parameters.

Send

TX_FRAME ( Delay =

100

)

Send

TX_FRAME(

100

)

# the same as the previous instruction

# Send a frame based on the template 'TX_FRAME_1'

# using overridden values and changing the default delay setting.

Send

TX_FRAME_1

{

DestAddr =

0xAABB

SrcAddr =

0xEFBE

Data = {

AA BB CC DD 12 34 56 78

[PATTERN_2] }

}

( Delay =

100

)

# Set the 'Delay' to 100000.

# Send a frame and use provided FCS instead of

# automatic calculation

.

Send

TX_FRAME

{

DestAddr =

0xAABB

SrcAddr =

0xEFBE

Data = {

AA BB CC DD

}

FCS =

0x11223344

# This value is used as FCS

# for this frame.

}

( Override = OVR_FCS )