beautypg.com

Settableheader – Teledyne LeCroy User-Defined Decoding (UDD) Advanced Script Language (ASL) Reference Manual User Manual

Page 19

background image

16

SetTableHeader

SetTableHeader(string);
SetTableHeader(OptionalFieldId);

Remark

This statement sets table header of interpreted data. Viewer shows string in header of table that
shows interpretation of data. If you use SetTableHeader(OptionalFieldId) form of this statement,
option string of specified OptionalFieldId is set as table header.

Parameter

String
specifies the string that you want to show in header of table.

OptionalFieldId specifies FieldId of an optional field.

Example

OpCode = AddField (0, 8, “Op Code”, “Op Code”, “Op Code”);
If (ValueOf (OpCode) = 0x01) then /* Read command */
{

SetTableHeader (“Read”);

/* Remaining decoding */

}