beautypg.com

Showdatablock(), Adddecseparator(), Warning() – Teledyne LeCroy USB Script Decode Manual User Manual

Page 70: Showdatablock() adddecseparator() warning()

background image

64

C

HAPTER

14

CATC Scripting Language for USB

USB Decoders

Example

val = Find(AttrIDValue_Table, PacketType);

ShowDataBlock()

ShowDataBlock(len, no_cells)

Comments

Used to display a DataBlock.

Example

ShowDataBlock(40, !VEX_MyDataBlock[in.Expanded]);

AddDecSeparator()

AddDecSeparator()

Comments

Used to create a separator cell.

Example

AddDecSeparator();

Warning()

Warning(text, tooltip)

Comments

Creates a warning cell.

Parameter

Meaning

Default Value

Comments

len

Length of Dat-
aBlock

no_cells

No cells will

be drawn

If this parameter is set, then data cells are not
shown.

Parameter

Meaning

Default Value

Comments

N/A

Parameter

Meaning

Default Value

Comments

text string

This text is displayed in the warning cell.

tooltip string

This text is displayed in the tooltip.