Teledyne-lecroy USB Script Decode Manual Manuel d'utilisateur Page 72

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 90
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 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
Vue de la page 71
1 2 ... 67 68 69 70 71 72 73 74 75 76 77 ... 89 90

Commentaires sur ces manuels

Pas de commentaire