beautypg.com

Teledyne LeCroy UWBTrainer Exerciser Script Language User Manual

Page 47

background image

LeCroy Corporation

UWBTrainer Exerciser - Generation Script Language Reference Manual

39

Note

1

: Set Burst to IGNORE if no bursts are being sent. Do not set it to OFF, because the parser

interprets OFF as the end of a Burst sequence and generates parse errors if a Frame was never
sent with Burst ON.

Note

2

: You must associate a Time variable with a condition before using it in a Send Frame

instruction. The script parser generates a parsing error if the TimeVar parameter contains an
index of a Time variable not declared in any Register Condition instruction.

The purpose of associating a Time variable with a condition is that, when the condition triggers,
the condition event timestamp is stored in the Time variable associated with the condition.
Afterwards, the timestamp provides precise scheduling frame transmission because it specifies
the delay after the event occurred.

Delay, SFOffset, and AbsTime are all mutually exclusive. Set only one of these three timing
parameters to a value in a Send instruction, or a parse error will be generated.

Delimit instruction parameters using a comma, as shown in the following examples:

To send a TX_Frame with Delay = 0, Indicate End of a Burst, and No Override:

Send TX_FRAME(

Delay

=

0

,

Burst

= OFF,

Override

= OVR_NONE )

To send a TX_Frame with SFOffset = 10 us, Indicate End of a Burst, and No Override:

Send TX_FRAME(

SFOffset

=

10

,

Burst

= OFF,

Override

= OVR_NONE )

To send a TX_Frame with AbsTime = 250 us, Indicate End of a Burst, and No Override:

Send TX_FRAME(

AbsTime

=

250

, Burst

= OFF,

Override

= OVR_NONE )

To send a TX_Frame with Delay = 200 us, Indicate End of a Burst, and No Override:

Send TX_FRAME(

200

, UNDEFINED, UNDEFINED,

0

, OFF, OVR_NONE )

To send a TX_Frame with Delay = 400 us:

Send TX_FRAME(

400

)

To send a TX_Frame and block until it has been sent out over the air:

Send TX_FRAME(

Blocking = TRUE

)

To send a TX_Frame with Time Variable Index = 1 and Delay = 400 us:

Send TX_FRAME(

TimeVar

=

1

,

Delay

=

400

)

To send a TX_Frame with Delay = 20 us + 100 ns and Override Scrambler:

Send TX_FRAME(

Delay

=

20

,

TimeAdjNs

=

100

,

Override

= OVR_SCR

)

To send a TX_Frame with Delay = 20 us + 100 ns and Override Length and FCS:

Send TX_FRAME(

20

,

UNDEFINED, UNDEFINED,

100

, UNDEFINED,

(

OVR_LEN |

OVR_FCS)

)