3 frame template insert directive, Frame template insert directive – Teledyne LeCroy UWBTrainer Exerciser Script Language User Manual
Page 36

LeCroy Corporation
UWBTrainer Exerciser - Generation Script Language Reference Manual
28
8.4.3 Frame Template Insert Directive
You can insert field layouts from another template after a specific field in a template. Use the
insert or
':'
directive.
Example 1
Frame
Base
{
F1 :
16
F2 :
8
F3 :
32
}
Frame
Templ_0
{
FieldT0_8 :
8
FieldT0_16 :
16
}
Frame
Templ_1
{
FieldT1_24 :
24
FieldT1_32 :
32
}
Frame
Combined : Base
{
Cmb_F1 :
8
insert
Templ_0
# Insert fields from frame template Templ_0
.
Cmb_F2 :
16
insert
Templ_1
# Insert fields from frame template Templ_1
.
Data :
32
}
The Combined template above has the fields:
F1 16
# Base
F2 8
# Base
F3 32
# Base
Cmb_F1 8
# Combined
FieldT0_8 8
# Templ_0
FieldT0_16 16
# Templ_0
Cmb_F2 16
# Combined
FieldT1_24 24
# Templ_1
FieldT1_32 32
# Templ_1
Data 32
# Combined