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

44
CATC Scripting Language for Bluetooth Analyzers
CATC
Manual Ver. 1.21
Return value
None.
Comments
Begins a cell block and adds a block header cell. This is a special cell that can be
collapsed and expanded. The collapsed/expanded state of this cell affects cells in
the group according to their
_COLLAPSED
,
_EXPANDED
attributes. All calls to
AddCell
after a call to
BeginCellBlock()
will put the new cells into this
group until a call to
EndCellBlock
is made.
Cell blocks can be nested.
Example
# Begin the 'red' group. For clarity these cells will be red:
BeginCellBlock( "Red Group", null, null, 0x0000ff, _MONOFIELD );
# This cell will be displayed when the red group is in the expanded
state:
AddCell( "Red is", "Expanded", null, 0x0000ff, _EXPANDED );
# This cell will be displayed when the red group is collapsed:
AddCell( "Red is", "Collapsed", null, 0x0000ff, _COLLAPSED );
# This begins the nested blue group. Nothing in the blue group will be
displayed unless the red group is expanded:
BeginCellBlock( "Blue Group", null, null, 0xff0000, _MONOFIELD,
_EXPANDED, [_BLOCKNAME, "BlockName"] );
# This cell is only displayed when the blue group is visible and
expanded:
AddCell( "Blue is", "Expanded", null, 0xff0000, _EXPANDED );
color integer or list
If not speci-
fied, a default
color is used
Color can be specified as either a packed color
value in an integer, or as an array of RGB values
ranging from 0-255. Displays in the name field
of the cell.
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:
[_BLOCKNAME, x]
_COLLAPSED
_ERROR
_EXPANDED
[_FIXEDWIDTH, w]
_HIDDEN
_MONOCOLOR
_MONOFIELD
_SHOWN (default)
_WARNING
Parameter
Meaning
Default Value
Comments