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

  • 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 48
LeCroy Corporation UWBTrainer Exerciser - Generation Script Language Reference Manual
41
# Register an RxFrame condition and keep the timestamp of
# the condition event in Time variable #1.
RegRxFrmCondition( HDR_COND, TimeVar = 1 )
{
# Header Mask/Match
PLCP
{
DestAddr = 0xAABB
SrcAddr = 0xBEEF
}
}
# Register a Timer condition and keep the timestamp of
# the condition event in Time variable #1.
StartTimer ( 2000, TimeVar = 1 )
# Wait for any condition to occur.
Wait ( HDR_COND, TIMER )
# Send frame 100 us after either a timer or RxHdr event occurs.
# Note that both conditions specify the same Time variable index:
# No matter which condition event happens first, the Time variable
# keeps the timestamp of either of them.
Send TX_FRAME( TimeVar = 1, Delay = 100 )
{
DestAddr = 0xAABB
SrcAddr = 0xEFBE
}
}
Zobrazit stránku 48
1 2 ... 44 45 46 47 48 49 50 51 52 53 54 ... 123 124

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

Žádné komentáře