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

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 124
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 88
LeCroy Corporation UWBTrainer Exerciser - Generation Script Language Reference Manual
81
10.7 Using Structure Variables to Assign Field Values
You can use structure variables in field assignments. Also See Section Using Multipliers to
Assign Field Values.
Examples
Main
{
# Use structure variables to assign field values.
# Declare a 'structure' instance based on the template S1.
$S = S1
# Declare a 'structure' instance based on the template S2
# and change the default value for the S16 field.
$W = S2 { S16 = 2 }
Send TX_FRAME
{
Data = $S # Data field contains the payload of structure S.
}
Send TX_FRAME
{
# Example of concatenation of structures.
# Data field contains combined payload of structures S and W
Data = $S + $W
}
}
Przeglądanie stron 88
1 2 ... 84 85 86 87 88 89 90 91 92 93 94 ... 123 124

Komentarze do niniejszej Instrukcji

Brak uwag