Teledyne-lecroy UWBTrainer Exerciser Script Language Uživatelský manuál Strana 64

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 124
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 63
LeCroy Corporation UWBTrainer Exerciser - Generation Script Language Reference Manual
56
9.11 Until Instructions
You can execute some code while waiting for some conditions.
Formats
Execute until ANY one of the condition(s) specified triggers:
Until( condition_name_1 [, condition_name_2, ...] )
Execute until ANY one of the condition(s) specified triggers (the same as Until):
Until_Any( condition_name_1 [, condition_name_2, ...] )
Execute until ALL condition(s) specified trigger:
Until_All( condition_name_1 [, condition_name_2, ...] )
Note: Until / Until_Any perform a logical OR on the conditions specified. Until_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 )
# Send frames during 2000 microseconds.
Until( TIMER )
{
# Send frames.
Send WM_FRAME ( Delay = 1000 )
}
Zobrazit stránku 63
1 2 ... 59 60 61 62 63 64 65 66 67 68 69 ... 123 124

Komentáře k této Příručce

Žádné komentáře