Teledyne LeCroy UWBTrainer Exerciser Script Language User Manual
Page 88

LeCroy Corporation
UWBTrainer Exerciser - Generation Script Language Reference Manual
80
10.6 Using Special Data Pattern Creators in Field
Assignments
You can use special pattern constructors to simplify creation of data patterns.
Examples
Main
{
# Examples of using special data pattern declarations while
# assigning field values.
Send
TX_FRAME
{
SrcAddr =
0xEFBE
Data = {
01 02 03 00 0A
}
# Simple byte stream
Data = PATTERN_2
# Use declared data pattern.
# Use combined byte stream.
Data = {
AA BB CC DD 12 34 56 78
[PATTERN_2] }
Data =
12
,
0xAA
# Specify data payload of 12 bytes and
# fill it by 0xAA: AA AA AA AA ... AA
# Specify data payload of 12 bytes and fill it starting
# from 1, incrementing each byte by 2: 01 03 05 07 09 ...
Data =
12
,
1
,
2
}
}