Teledyne-lecroy USB Script Decode Manual Uživatelský manuál Strana 69

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 90
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 68
63
CHAPTER 14
CATC Scripting Language for USB USB Decoders
Comments
Saves the global field settings. Can be used in conjunction with
RestoreFieldSettings() to show one attribute inside another.
Example
...
... # pre-decoding of container attribute
SaveFieldSettings();
Global_BitField_offset = MAD_HEADER_LEN_BITS +
amount_of_bits_before_attribute;
ShowSomeAttribute();
RestoreFieldSettings( );
... # post-decoding of container attribute
...
RestoreFieldSettings()
RestoreFieldSettings()
Comments
Restores the global field settings. Can be used in conjunction with
SaveFieldSettings() to show one attribute inside another.
Example
See SaveFieldSettings()on page 62.
Find()
Find(table, table_key)
Comments
Finds a string in the table by a key value. If the key is not found, the first string is
returned.
Parameter Meaning Default Value Comments
N/A
Parameter Meaning Default Value Comments
table
table_key string
Zobrazit stránku 68
1 2 ... 64 65 66 67 68 69 70 71 72 73 74 ... 89 90

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

Žádné komentáře