Addplcellmonostr() – Teledyne LeCroy USB Script Decode Manual User Manual
Page 80

74
C
HAPTER
14
CATC Scripting Language for USB
USB Decoders
Comments
Draws a monocolor cell that is similar to the usual payload cell except that both the
upper and lower parts of the cell are the same color. Note: all Add...Cell
functions use colors as defined in the global variable FieldColor.
Example
AddPayLoadCellMono("MonoColorField", text, tooltip +
"\n\nWe use AddPayLoadCellMono() to depict this
cell.\n" + "This monocolor cell is similar to usual
payload cell but both upper and\n" + "lower parts of
Cell are depicted by the same color defined for this
attribute\n" + "in file MAD_colors.inc");
AddPLCellMonoStr()
AddPLCellMonoStr(caption, text, tooltip, addparam)
addparam
Used to create special cells or to modify cell
attributes. The values are predefined constants,
and zero or more of them may be used at one
time. Possible values are:
_ERROR: creates a cell with a red value field to
indicate an error.
_WARNING: creates a cell with a yellow value
field to indicate a warning.
_MONOFIELD: cell consists of only a name
field.
_MONOCOLOR: creates a cell with the same
color in both fields.
_FIXEDWIDTH: creates a cell with a fixed,
specified width.
Parameter
Meaning
Default Value
Comments
caption
Displays in the name field of the cell.
text
Displays in the value field of the cell.
tooltip
Displays in tooltip.
Parameter
Meaning
Default Value
Comments