Teledyne LeCroy Conquest User Manual - Users Manual User Manual
Page 234

Appendix A
224
SubFieldOf
SubFieldOf ( fieldId <, Separated > )
Main Block
Remark:
This statement adds subfield(s) to the previously added field. All AddField
statements that exist within the body of this statement are relative only to the
specified field. Up to 8 levels of nested subfield statements is permitted.
Input Parameters:
fieldId:
This is the identifier that specifies the parent field. This
identifier is the output of a AddField statement.
Separated:
This keyword specifies the display of subfield(s) in the
Interpret Data tables. If you do not include the
Separated keyword, then the subfield(s) are shown in
the tables as a subset of the parent field and can be
expanded or collapsed with an arrow. If you include the
Separated keyword, a separate table is created for the
subfield.
Example
F1 = AddField(2, 3, "Field1", "It starts form bit# 2", "F1");
F2 = AddField(5, 3, "Field2", "This field is used for..", "F2");
SubFieldOf(F1)
{
s1 = AddField(0, 1, "Subfield1", "This is subfield of F1", "s1");
s2 = AddField(1, 2, "s2", "a Subfield of f1",
"subfield f1");
}
/* Viewer shows these subfields in a separate table */
SubFieldOf(F2, Separated)
{
s21 = AddField(0, 1, "Subfield1", "This is subfield of F2", "s1");
s22 = AddField(1, 2, "s2", "Subfield of F2",
"subfield of F1");
}