beautypg.com

Teledyne LeCroy Protocol Analyzers File-Based Decoding User Manual User Manual

Page 61

background image

File-based Decoding User Manual

Chapter 11: Primitives

LeCroy Corporation

55

BeginCellBlock()

BeginCellBlock(string>, string>,
string or null>, integer or list>,
any>)

Parameter

Meaning Default Value

Comments

name string

Displays in the name field of the cell.

value string

Displays in the value field of the cell.

description string or
null

Displays in tool tip.

color integer or list

If not specified,
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

Support
Supported by all LeCroy analyzers.

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() put the new cells into this group until a call to
EndCellBlock
is made.
Cell blocks can be nested.