Complete() – Teledyne LeCroy Merlins Wand - CSL manual (CATC Scripting Language Manual) User Manual

Page 51

Advertising
background image

45

CATC Scripting Language for Bluetooth Analyzers

CATC

Manual Ver. 1.21

# This cell is also only displayed when the blue group is visible and

expanded:

AddCell( "Blue", "Too", null, 0xff0000, _EXPANDED );

# This cell is only displayed when the blue group is visible and

collapsed:

AddCell( "Blue is", "Collapsed", null, 0xff0000, _COLLAPSED );

# This ends the blue group.

EndCellBlock();

# Cells with the _SHOWN attribute are always displayed. This is the

default:

AddCell( "Always", "Shown", null, 0x0000ff, _SHOWN );

# This cell will never be displayed. In a real script this would be

driven by a variable:

AddCell( "Never", "Shown", null, 0x0000ff, _HIDDEN );

# This ends the red group.

EndCellBlock();

The output of the example is:

Complete()

Complete()

Figure 12-4: Example output for

BeginCellBlock

with red group

collapsed

Figure 12-5: Example output for

BeginCellBlock

with red group

expanded and blue group collapsed

Figure 12-6: Example output for

BeginCellBlock

with red group expanded

and blue group expanded

Parameter

Meaning

Default Value

Comments

Advertising