10 wait instructions, Wait instructions, Wait inst – Teledyne LeCroy UWBTrainer Exerciser Script Language User Manual
Page 63: 55 wait_all inst, 55 wait_any

LeCroy Corporation
UWBTrainer Exerciser - Generation Script Language Reference Manual
55
9.10 Wait Instructions
You can wait for registered conditions.
Formats
Wait for ANY one of the condition(s) specified:
Wait( condition_name_1
[
, condition_name_2, ...
]
)
Wait for ANY one of the condition(s) specified (same as Wait):
Wait_Any( condition_name_1
[
, condition_name_2, ...
]
)
Wait for ALL the condition(s) specified:
Wait_All( condition_name_1
[
, condition_name_2, ...
]
)
Note: Wait / Wait_Any perform a logical OR on the conditions specified. Wait_All performs a
logical AND on the conditions specified.
Examples
Main
{
# Register a Header condition.
RegRxFrmCondition( HDR_COND, YES )
{
# Header Mask/Match
PLCP
{
DestAddr =
0xAABB
SrcAddr =
0xBEEF
}
}
# Start the timer and register the auto_reset “TIMER” condition.
StartTimer(
2000
, YES )
# Wait for condition 'HDR_COND' OR condition 'TIMER'
# to be triggered.
Wait( HDR_COND, TIMER )
# Same as Wait but clearer for multiple conditions.
Wait_Any( HDR_COND, TIMER )
# Wait for condition 'HDR_COND' AND condition 'TIMER'
# to be triggered.
Wait_All( HDR_COND, TIMER )
}