Teledyne LeCroy CATC Scripting Language Reference Manual User Manual

Page 43

Advertising
background image

C

HAPTER

12

Decoder Primitives

CATC Scripting Language

39



Parameter

Meaning

Default Value

Comments

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

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:

Advertising