Endcellblock(), Getbitoffset() – Teledyne LeCroy CATC Scripting Language Reference Manual User Manual
Page 50
Advertising
C
HAPTER
12
Decoder Primitives
CATC Scripting Language
46
EndCellBlock()
EndCellBlock()
Parameter
Meaning
Default Value
Comments
Return value
None.
Comments
Ends a cell block that was started with
BeginCellBlock().
Example
See BeginCellBlock().
GetBitOffset()
GetBitOffset()
Parameter
Meaning
Default Value
Comments
N/A
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
Advertising