beautypg.com

Teledyne LeCroy Voyager Exerciser Generation Script Language Manual User Manual

Page 140

background image

Teledyne LeCroy

Voyager USB 3.0 Exerciser Generation Script Language Reference Manual

131

Main

{

Send

Usb3LongTemplateNameDataPacket

{
Data = {

AA BB CC DD

}

}

# Use an alias for the ‘Usb3LongTemplateNameDataPacket' template.

# Send a packet based on the ‘Usb3LongTemplateNameDataPacket'
# template.
# Using aliases for packet/structure templates allows you to
# use short names instead of the long names defined in
# large template libraries.

Send

DPacket

{
Data = {

AA BB CC DD

}

}

# It is allowed to declare an alias (the same as constant,

# data pattern, and template) inside a generation procedure.

%alias

DP = Usb3LongTemplateNameDataPacket

Send

DP

{
Data = {

11 22 33 44

}

}
}