Teledyne-lecroy UWBTrainer Exerciser Script Language Bedienungsanleitung Seite 32

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 124
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 31
LeCroy Corporation UWBTrainer Exerciser - Generation Script Language Reference Manual
24
8.4 Frame Template Inheritance
You can create a frame/struct template that inherits field layouts defined in another template. The
created template has all the fields defined in the inherited templates plus its own fields. All fields
must have unique names.
Note: The parser adds the fields defined in the created frame template after it adds fields from
the inherited templates.
You can change the default field values of the inherited fields.
8.4.1 Frame Template Single Inheritance
A new template inherits the field layouts from another template using an ancestor list:
Examples
Frame TX_FRAME : PLCP
{
# Example of a field with variable length having a default value.
Data : * = { 00 00 00 01 }
# The parser can use a declared data pattern name.
FCS : 32
# This field is calculated automatically if autocorrect settings
# are on in the SendFrame instruction.
}
# Other examples of frame templates:
# PHY-MAC header for RX frame + header error fields
Frame PLCP_RX : PLCP
{
HDERsvd : 3
HDError : 5
}
# Template for generic TX frame
Frame TX_FRAME : PLCP_TX
{
Data : *
FCS : 32 # calculated automatically
}
Seitenansicht 31
1 2 ... 27 28 29 30 31 32 33 34 35 36 37 ... 123 124

Kommentare zu diesen Handbüchern

Keine Kommentare