Teledyne-lecroy LeCroy Analyzers File Based Decoding Manual Uživatelský manuál Strana 46

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 82
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 45
Chapter 11: Primitives File-based Decoding User Manual
40 LeCroy Corporation
11.2 Data Manipulation Primitives
GetBitOffset()
GetBitOffset()
Support
Supported by all LeCroy analyzers.
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
N/A
Zobrazit stránku 45
1 2 ... 41 42 43 44 45 46 47 48 49 50 51 ... 81 82

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

Žádné komentáře