Teledyne-lecroy User-Defined Decoding (UDD) Advanced Script Langua Uživatelský manuál Strana 11

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 28
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 10
8
Advanced Script Language Programming
A script contains three required sections, with only one of each type:
o Product Section: Indicates the product.
o Protocol Decoding Section: Breaks the extracted data stream into protocol fields and
decodes the data per each field.
o Protocol Extraction Section: Instructs the decoder on how to extract the high-level
protocol data.
A section consists of one or more blocks. A block is a procedure that is formed with a series of
statements that are enclosed within the block. Each block has a dedicated function within the
section and follows one of two formats:
Blockname
Statement1;
Statement2;
. . .
StatementN;
EndBlock
{
Statement1;
Statement2;
. . .
StatementN;
}
Product Section
The product section identifies product name, such as ST. (ST should be used for both SAS and
SATA.)
[ProductName= ST]
End
Zobrazit stránku 10
1 2 ... 6 7 8 9 10 11 12 13 14 15 16 ... 27 28

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

Žádné komentáře