how to create multi-state depend on the event trigger? For example, when A analyses trigger state show red and when the end of that trigger state show green.
Consider if you have a Process tag and output calculation tag. Right click AF attribute(process tag) and click limits. Select and Define Minimum, Lo, Hi and Maximum depending on your requirement. Create enumeration set Healthy =0 and Warning=1 and change output tag value type to enumeration set.
If ('Process Tag' < 'Process Tag|Hi' and 'Process Tag' > 'Process Tag|Lo')
Then 0 (GREEN)
Else If ('Process Tag' > 'Process Tag|Hi' or 'Process Tag' < 'Process Tag|Lo')
Then 1 (RED)
You can add attribute to PI vision display and click add multistate. Now it will show multistate based on enumeration set values and will be changed depending on your calculation.
Hi Lal Babu Shaik
thank for your answer. and how to set condition true for xx min/sec/hour like event frame trigger.
Are you looking for showing multistate in display based on an event?
In this case your Analysis A, will be configured an attribute x as trigger condition. You can map the same attribute in display and configure the threshold values for the multi-state color configuration.
Let us know if the above is useful.
HI Shibumon s
ref your answer, that does not depend on an event because if define threshold in display when an event has delays time the multi-state is going change state before event trigger (as picture).
Retrieving data ...