Teledyne LeCroy UWBTrainer Exerciser Script Language User Manual
Page 55

LeCroy Corporation
UWBTrainer Exerciser - Generation Script Language Reference Manual
47
Examples
Main
{
# Register the Rx Frame condition named 'COND_1'.
RegRxFrmCondition ( COND_1 )
{
WM_FRAME
{
# Header Mask/Match
DestAddr =
0xAABB
SrcAddr =
0xBEEF
# Payload Mask/Match
Data = {
AA BB CC DD
}
}
}
# Register the Rx Frame condition named 'COND_2' using
# the named parameters.
RegRxFrmCondition ( COND_2,
AutoReset = YES,
Count =
3
,
TimeVar =
1
)
{
WM_FRAME
{
# Header Mask/Match
DestAddr =
0xAABB
SrcAddr =
0xBEEF
# Payload Mask/Match
Data = {
AA BB CC DD
}
}
}
# Register the RX Frame condition named "COND_3" with the same
# parameters as in the previous instruction.
RegRxFrmCondition ( COND_3, YES,
3
,
1
)
{
WM_FRAME
{
# Header Mask/Match
DestAddr =
0xAABB
SrcAddr =
0xBEEF
# Payload Mask/Match
Data = {
AA BB CC DD
}
}
}