Teledyne-lecroy USB Script Decode Manual Manual de usuario Pagina 72

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 90
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 71
66
CHAPTER 14
CATC Scripting Language for USB USB Decoders
AddSimplePLCell("LID", Format("%d", LID_number ),
tooltip + AddWarningTooltip(error_tooltip), error);
...
If there is an error for the cell, the tooltip will display this text:
LID block number.
!!! WARNING !!!
LID number is out of range
The warning message will be displayed in dark red in dialog view.
Another way to add a warning message to a tooltip is to use the WARNING_SIGN
constant like this:
...
if( error_tooltip != "" )
error_tooltip = WARNING_SIGN + error_tooltip;
ReservedCheck()
ReservedCheck(bits_reserved)
Comments
Makes a check for next bits_reserved bits that are reserved and should be set
to zero. If the bits are not zero, a corresponding warning cell will be shown in
expanded state.
Example
ReservedCheck( reserved_bits );
IncFieldOffset()
IncFieldOffset(len)
Comments
Increments the field offset by designated length (len) and sets the field length
variable equal to len. This is useful when its not possible to obtain a field value
using only one GetNBits_ or NextNBits_ command.
Parameter Meaning Default Value Comments
bits_reserved
Parameter Meaning Default Value Comments
len
Vista de pagina 71
1 2 ... 67 68 69 70 71 72 73 74 75 76 77 ... 89 90

Comentarios a estos manuales

Sin comentarios