Teledyne LeCroy Voyager Exerciser Generation Script Language Manual User Manual
Page 111

Teledyne LeCroy
Voyager USB 3.0 Exerciser Generation Script Language Reference Manual
102
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_PACKET
{
Endp =
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 _11110000 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
}
}