Hi Marty:
I understand this is not the final tutorial on how
to use the new ideas, but I got stuck when
trying to match this definition:
struct(MbbiState) {
field(name,string)
field(value,array(octet[]))
field (severity,menu(menuAlarmSevr))
}
record(MbbiRecord) extends RecordCommon {
field(state, array(struct(MbbiState)[])) {...}
...
}
and this instance example:
MbbiRecord dac16 = {
state = [3] {
{“state1”,[2]{0x00,0x01}},
{“state2”,[2]{0x00,0x02}},
...
}
It might be a little easier to read if the 'severity'
values were added, or the form name="state1", value="..."
was used. Or show all options:
state = [3] {
# Verbose
{name=“state1”, value=[2]{0x00,0x01}, severity=NORMAL},
# Terse
{“state2”, [2]{0x00,0x02}, NORMAL},
# Defaults for unspecified 'rest'
{“state3”, [2]{0x00,0x04}}
The "scan" data acqu. example for the new wait/block
processing modifiers is very good!
-Kay