Teledyne-lecroy CATC Scripting Language Reference Manual Manuale Utente Pagina 50

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 57
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 49
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
Vedere la pagina 49
1 2 ... 45 46 47 48 49 50 51 52 53 54 55 56 57

Commenti su questo manuale

Nessun commento