beautypg.com

Teledyne LeCroy UWBTrainer Exerciser Script Language User Manual

Page 45

background image

LeCroy Corporation

UWBTrainer Exerciser - Generation Script Language Reference Manual

37

Format

# Send instruction with a local field appended.

Send

(

Frame Template name | Structure variable name

)

[

( frame delay, superframe offset, absolute time,
nanosecond time adjustment, burst mode switch,
override bitmap, time variable index, blocking )

{
Field = Value
...

# Declare local field “Lfield” 48 bits long at the packet end.

LField : 48 = { 01 02 03 04 05 06 }

}

]

# Send instruction with a local field overwriting an offset.

Send

(

Frame Template name | Structure variable name

)

[

{
Field = Value
...

# Declare local field “FirstByte” 8 bits long at offset 0.

FirstByte : 0,8 = { 01 }

}

( frame delay, superframe offset, absolute time,
nanosecond time adjustment, burst mode switch,
override bitmap, time variable index, blocking )

]

# Send instruction with local fields appended and overwrite an offset.

Send

(

Frame Template name | Structure variable name

)

[

( frame delay, superframe offset, absolute time,
nanosecond time adjustment, burst mode switch,
override bitmap, time variable index, blocking )

{
Field = Value
...

# Declare local field “Lfield” 48 bits long at packet end.

LField : 48 = { 01 02 03 04 05 06 }

# Declare local field “FirstByte” 8 bits long at offset 0.

FirstByte : 0,8 = { 01 }

}

]

Note

1

: The instruction parameters “( … )” and frame/structure field assignments “{ … }” are

interchangeable in order within the Send instruction.

Note

2

: Declare local fields within the Send instruction in the same way that frame template fields

are declared. They exist only for the instruction in which they are declared.