beautypg.com

5 display primitives – Teledyne LeCroy Protocol Analyzers File-Based Decoding User Manual User Manual

Page 56

background image

Chapter 11: Primitives

File-based Decoding User Manual

50

LeCroy Corporation

11.5 Display Primitives

AddCell()

AddCell(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:

_COLLAPSED
_ERROR
_EXPANDED
[_FIXEDWIDTH, w]
_HIDDEN
_MONOCOLOR
_MONOFIELD
_SHOWN (default)
_WARNING

Support
Supported by all LeCroy analyzers.

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.