14 wait frame shortcut instructions, Wait frame shortcut instructions, Waitrxframe in – Teledyne LeCroy UWBTrainer Exerciser Script Language User Manual
Page 68

LeCroy Corporation
UWBTrainer Exerciser - Generation Script Language Reference Manual
60
9.14 Wait Frame Shortcut Instructions
The Wait shortcut instructions save some time because they register conditions "behind the
scenes".
Note: These instructions are not in Version 1.0.
Format
WaitRxFrame (
[
timeout
]
,
[
counter
]
,
[
Time variable index
]
)
[
{
Mask/Match frame template or frame variable
Additional condition parameters
}
]
WaitRxFrame registers the Rx Frame and Timer conditions and waits until any of them triggers.
The Rx Frame condition is triggered only if it occurs the number of times specified by the
counter parameter.
Note: If no Mask/Match template is specified, the system waits for any Rx frame.
The instruction named parameters are:
Timeout: Specifies the timer timeout in microseconds.
Count: Specifies the number of times the Rx Frame condition event occurs before the
condition is triggered.
TimeVar: Specifies the index of the Time variable in which to keep the condition
timestamp when it is triggered. Values can range from 0 to 255.
No value indicates that this parameter is ignored.
By default, Timeout = 0xFFFFFFFF, Count = 1, and TimeVar = UNDEFINED (timestamp is not
saved).
For more details about Additional condition parameters please refer to topic 9.6.1.1
Additional Rx Frame Header+Payload Condition parameters
.