beautypg.com

Addstringtodlg(), Adddatablocktodlg(), Addstringtodlg() adddatablocktodlg() – Teledyne LeCroy USB Script Decode Manual User Manual

Page 75

background image

69

C

HAPTER

14

CATC Scripting Language for USB

USB Decoders

Comments

Writes passed data to out.FieldList as a special field called ‘CAPTION’.

Example

AddCaptionToDlg("Common USB Header", caption + " " +
text, tooltip);

AddStringToDlg()

AddStringToDlg(caption, text, tooltip, addparam)

Comments

Writes passed data to out.FieldList as a special field called ‘STRING’.

Example

AddStringToDlg(caption , text, tooltip);

AddDataBlockToDlg()

AddDataBlockToDlg(len)

Comments

Makes a special record about DataBlock with length equal to len for dialog view.

addparam

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:
_ERROR: creates a cell with a red value field to
indicate an error.

Parameter

Meaning

Default Value

Comments

caption

text

tooltip

addparam

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:
_ERROR: creates a cell with a red value field to
indicate an error.

Parameter

Meaning

Default Value

Comments

len

Parameter

Meaning

Default Value

Comments