Teledyne-lecroy USB Script Decode Manual Manual do Utilizador Página 68

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 90
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 67
62
CHAPTER 14
CATC Scripting Language for USB USB Decoders
set Global_BitField_offset = 0; # global variable
that contains the offset, in bits, from the beginning
of packet for beginning of current attribute. Roughly
speaking, it is the entry point from which an
attribute decoder starts decoding.
set BitCurrentFieldOffset = 0; # global variable that
contains the offset, in bits, from the starting point
of decoding for the current field inside of the
decoder.
set BitCurrentFieldLength = 0; # the length, in bits,
of the currently decoded field.
Common Functions
Functions found in DecoderTools2.inc
These are the most commonly-used functions from DecoderTools2.inc.
RGB()
RGB(r, g, b)
Comments
Used to define a color based on red, green, and blue values.
Example
RGB(255, 255, 255); #white
SaveFieldSettings()
SaveFieldSettings()
Parameter Meaning Default Value Comments
r integer red value
g integer green value
b integer blue value
Parameter Meaning Default Value Comments
N/A
Vista de página 67
1 2 ... 63 64 65 66 67 68 69 70 71 72 73 ... 89 90

Comentários a estes Manuais

Sem comentários