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

  • 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 52
47
CHAPTER 12
CATC Scripting Language for USB Decoder Primitives
EndCellBlock()
EndCellBlock()
Return value
None.
Comments
Ends a cell block that was started with
BeginCellBlock().
Example
See BeginCellBlock().
GetBitOffset()
GetBitOffset()
Return value
None.
Comments
Returns the current bit offset that is used in NextNBits or PeekNBits.
Example
raw = 'F0F0';# 1111000011110000 binary
result1 = GetNBits ( raw, 2, 4 );
result2 = PeekNBits(5);
result3 = NextNBits(2);
Trace ( "Offset = ", GetBitOffset() );
The example generates this Trace output:
Offset = D
Parameter Meaning Default Value Comments
Parameter Meaning Default Value Comments
N/A
Zobrazit stránku 52
1 2 ... 48 49 50 51 52 53 54 55 56 57 58 ... 89 90

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

Žádné komentáře