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

  • 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 87
82
CHAPTER 14
CATC Scripting Language for USB USB Decoders
Comments
Used to determine whether an item defined with view_setting is shown.
Example
ShowDataBlock(bytes, !ShowItem(CME_ReadWriteData));
PLReservedCheck()
PLReservedCheck(reserved_bits)
Comments
Used to make a common check of reserved bits while taking into account the view
settings. If these bits are not zero, a corresponding warning cell will be shown in the
expanded state. Note: only up to 32 bits should be passed to this function.
Example
PLReservedCheck(32);
PLReservedCheck(8);
UnsignedCompare()
UnsignedCompare(op1, op2)
Comments
This function returns difference between integer values and considers them to be
unsigned values. So, the value 0xFFFFFFFF is -1 and less than 0 in logical condi-
tions, but as an unsigned integer it is so much bigger than 0. Use this function in
places where you want integer values to be thought of as unsigned.
Example
select {
(low_limit == high_limit) :
{
...
}
# (AttModifier < low_limit) || (AttModifier >
high_limit) :
Parameter Meaning Default Value Comments
reserved_bits
Parameter Meaning Default Value Comments
op1 Operand
op2 Operand
Vue de la page 87
1 2 ... 83 84 85 86 87 88 89 90

Commentaires sur ces manuels

Pas de commentaire