Showitem() – Teledyne LeCroy USB Script Decode Manual User Manual
Page 87

81
C
HAPTER
14
CATC Scripting Language for USB
USB Decoders
Comments
Used to start a new group of cells and table in dialog view, similarly to
AddPLCellMonoCap()
, except that ‘Block’ payload cells use view settings
contained in a global view setting variable VS. This way, one view setting can be
applied to a block of cells. Note: all Add...Cell functions use colors as defined
in the global variable FieldColor.
Example
AddBlockPLCellMonoCap("NewGroupOfCells",
"MonoColorFieldCap", "MonoColorFieldCap\n" +
"This cell and two next follow one common for this
group\n" +
"view setting : VEX_NewGroupOfCells\n\n" +
"We start new group using AddBlockPLCellMonoCap
function.\n" +
"The same as AddPLCellMonoCap it is intended to
start new group of cells -\n" +
"(both part of this cell is painted by the same
color) -\n" +
"and table in dialog view but it could share the
same view setting\n" +
"(assigned to global variable VS) for all cells in
group.");
ShowItem()
ShowItem(view_setting)
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
view_setting
Parameter
Meaning
Default Value
Comments