Teledyne-lecroy UWBTrainer Exerciser Script Language Instrukcja Użytkownika Strona 87

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 124
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 86
LeCroy Corporation UWBTrainer Exerciser - Generation Script Language Reference Manual
79
10.5 Sending Frames using Structure Variables
You can send a frame based on some frame variable.
Examples
Main
{
# Send a frame based on the frame variable X using overridden values.
# Note: Frame variable X field values are NOT changed.
# '$' may be omitted after the 'Send' keyword,
# but if there is a template X, it is used instead of
# the structure variable X.
Send X
{
FrameType = 2
DestAddr = 0xAABB
SrcAddr = 0xEFBE
Data = { AA BB CC DD 12 34 56 78 [PATTERN_2] }
}
# '$' explicitly indicates that you want to send a frame
# based on the structure variable X.
Send $X
{
FrameCtrl = 0xC018 # Assign the whole multi-byte field.
SeqCtrl = 0x1234 # Assign the whole multi-byte field.
}
# Short syntax.
# Send a frame based on the frame variable X having delay 50 us
X ( 50 )
}
Przeglądanie stron 86
1 2 ... 82 83 84 85 86 87 88 89 90 91 92 ... 123 124

Komentarze do niniejszej Instrukcji

Brak uwag