Teledyne LeCroy Merlins Wand - CSL manual (CATC Scripting Language Manual) User Manual
Page 46

40
CATC Scripting Language for Bluetooth Analyzers
CATC
Manual Ver. 1.21
Return value
None.
Comments
Adds a display cell to the current output context. Cells are displayed in the order
that they are added. The name and value strings are displayed directly in the cell.
Example
# Create a regular cell named Normal with a value "Cell" and tool tip
"Normal cell":
AddCell( "Normal", "Value1", "Normal cell" );
# Use the _MONOCOLOR value in the additional_info parameter to create a
cell with a color value of 0x881122 in both the name and value fields:
AddCell( "MonoColor", "Value2", "MonoColor cell", 0x881122, _MONOCOLOR
);
# Use the _MONOFIELD value to create a cell with only a name field:
AddCell( "MonoField", "Value3", "MonoField cell", [255, 200, 200],
_MONOFIELD );
# Use the _ERROR value to create a cell with a red value field:
AddCell( "Error", "Value4", "Error cell", 0xcc1155, _ERROR );
# Use the _WARNING value to create a cell with a yellow value field:
AddCell( "Warning", "Value5", "Warning cell", 0x00BB22, _WARNING );
# Use the [_FIXEDWIDTH, w] value to create a cell with a fixed width of
20 in conjuction with the error value to create a fixed width cell with
a red value field:
AddCell( "Fixed Width 20", "Value6", "Fixed Width and Error cell",
0x001122, [_FIXEDWIDTH, 20], _ERROR );
additional_info any
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:
_COLLAPSED
_ERROR
_EXPANDED
[_FIXEDWIDTH, w]
_HIDDEN
_MONOCOLOR
_MONOFIELD
_SHOWN (default)
_WARNING
Parameter
Meaning
Default Value
Comments