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

Teledyne LeCroy
Voyager USB 3.0 Exerciser Generation Script Language Reference Manual
71
To send a TX_Packet with Delay = 40 ns and Override Length and CRC32:
Send TX_PACKET(
40
, OVR_LEN | OVR_CRC32 )
To send a TX_Packet with delay = 250 ns and Override All:
Send TX_PACKET(
Delay
=
250
,
Override
= OVR_ALL )
Examples
Main
{
# Send a packet based on the template 'TX_PACKET'
# using default values.
Send
TX_PACKET
# Send a packet based on the template 'TX_PACKET'
# using default values overriding some default
# instruction parameters.
Send
TX_PACKET ( Delay =
100
)
Send
TX_PACKET(
100
)
# the same as the previous instruction
# Send a packet based on the template 'TX_PACKET_1'
# using overridden values and changing the default delay setting.
Send
TX_PACKET_1
{
DevAddr =
0x80
Endp =
2
Data = {
AA BB CC DD 12 34 56 78
[PATTERN_2] }
}
( Delay =
100
)
# Set the 'Delay' to 100.
# Send a packet and use the provided CRC32 instead of
# automatic calculation
.
Send
TX_PACKET
{
DevAddr =
0x80
Endp =
2
Data = {
AA BB CC DD
}
CRC32 =
0x11223344
# This value is used as CRC32
# for this packet.
}
(Override = OVR_CRC32)
}