Teledyne-lecroy Protocol Analyzers File-Based Decoding User Manual User Manual Page 45

  • Download
  • Add to my manuals
  • Print
  • Page
    / 82
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 44
File-based Decoding User Manual Chapter 11: Primitives
LeCroy Corporation 39
11.2 Data Manipulation Primitives
GetBitOffset()
GetBitOffset()
Parameter Meaning
Default
Va
lue Comments
N/A
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);
offset = GetBitOffset();
The example results in:
offset == 8
Page view 44
1 2 ... 40 41 42 43 44 45 46 47 48 49 50 ... 81 82

Comments to this Manuals

No comments