6 structure variable syntax, 1 omitting the send keyword, Structure variable syntax – Teledyne LeCroy Voyager Exerciser Generation Script Language Manual User Manual
Page 81: Omitting the send keyword
Teledyne LeCroy
Voyager USB 3.0 Exerciser Generation Script Language Reference Manual
72
9.6 Structure Variable Syntax
Structure variables have a special syntax.
Example
# This syntax instructs the parser to send a packet based on
# some structure variables, avoiding the search for templates.
Send
$(Structure variable name)
[
{
Field = Value
...
}
( parameter1, parameter2, ... )
]
Example
Main
{
# Declare a structure variable based on the template 'TX_PACKET'.
$X = TX_PACKET
# Send a packet based on the template 'TX_PACKET'
# using default values.
Send
$X
}
9.6.1 Omitting the Send Keyword
You can omit the Send keyword if needed (but this is not recommended).
Example
Main
{
# Send a packet based on the template 'TX_PACKET'
# using default values.
TX_PACKET
}