The first 3 screen shots you provided are all the same, so I don't know what your element/EF templates look like. Also, it is hard to tell what exactly the messages returned in your generated EF's are. However, if you are using only 1 EF template across all of your different element templates, some which might not contained referenced elements within the EF template, then the attribute not found is expected and can only be cleaned up by creating multiple EF templates for each element template.
Sorry about that. I took all of the screenshots but didn’t copy them
The Element Template
The Event Frame Template
And finally the equipment element.
I guess my question for the first item is how do I get the count to compute
correctly without throwing the error. You will note that I have
highlighted the configuration of the count item in my screenshot.
Also, how do I have multiple event frame templates, assigned to a given
category of event and how do I control which one is fired?
Tom, you will want to change your configuration string to include the following settings: TimeMethod=NotSupported;TimeRangeMethod=Count;TimeRangeBasis=EventWeighted;UOM=count
Basically, you have to select the TimeMethod to "NotSupported" to obtain the count of events.
For the second issue it sounds like you will need to configure a Recipe Template in the EMDVB interface. Recipe templates allow you to configure what EF template is assigned at each level. If you know this piece of equipment will never have those attributes, I would recommend assigning an additional recipe template that will trigger whenever the trigger condition is met. In this case your trigger, I believe you want to add an additional template to the phase template that is triggered with something similar to [Unit, value="090_R11"]. It likely will take a few tries to obtain the correct configuration but the point is "Recipe Templates" on the EMDVB interface allow you to decide which template to apply.
Overall, this looks like a very nice setup.
What is the naming pattern used for. Can I just have class based templates
that derive from the phase template? All I think I am looking to do is say
something like the centrifuge template runs when the equipment name looks
like 090_C* (* is wildcard). Will that work?
Yes, I would recommend deriving from the phase template. Wild cards are supported like you have provided.
Can you provide sample syntax that you would use to say only execute this
template when the name of the attached element is like X or is in the set
of (x, y z)?
If I am understanding this UI, I seem to need to create 3 phase level
recipe templates, one for reactors, with its unit list, one for centrifuges
with its list, and one for dryer with its list, since the event frame
template to execute is linked to a template instance. There seems to be a
copy recipe template field, but both the paste and the add options are
greyed out on the root level node.
I have tried to go behind the scenes directly to the file, and create the
extra phase level objects, without success.
What am I missing.
image001.png 333.7 KB
Try to copy the child recipe template and paste it under the appropriate node. I'm not exactly sure what you are doing or what version of the interface config tool you you have. Per the config file.
I am using template PhaseStateTest when the unit contains 200 or 300. A different template is used when the unit contains 5600. I hope this helps.