Preparefieldfordlg(), Preparezerofieldfordlg() – Teledyne LeCroy USB Script Decode Manual User Manual
Page 73

67
C
HAPTER
14
CATC Scripting Language for USB
USB Decoders
Example
IncFieldOffset( 64 );
PrepareFieldForDlg()
PrepareFieldForDlg(field_name, str_value, tooltip,
addparam)
Comments
Prepares the field for dialog view. Writes passed data to out.FieldList, using
current values of field offset and field length.
Example
PrepareFieldForDlg(caption , text, tooltip );
PrepareZeroFieldForDlg()
PrepareZeroFieldForDlg(field_name, str_value, tooltip,
addparam)
Parameter
Meaning
Default Value
Comments
field_name
str_value
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
field_name
str_value
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.