we have one calculation which is running fine on analysis.
But if i check the output attribute, it showing bad input. (this behavior is intermittent)
Does anyone has idea about this?
Thanks in advance,
Can you share the equation? I would recommend reviewing values using "Preview Results" from the right-click menu on the analysis. It will show the values of all variables from the analysis which I believe are inputs to your last one.
I can see that you already used BadVal function which should filter out values such as "Bad input", but maybe there is something wrong with the syntax.
I had checked preview result, i could see, there are no bad events in that.
Please have a look into the analysis here.
According the calculation, i had checked the all the calculation tags and those were showing good value only.
You equation has DigState("Bad Input") which writes system digital state "Bad Input" . Believe one of condition is evaluating to "True" and it is writing Bad Input. Would suggest changing the preview result time to output timestamp where it is writing "Bad Input" as a value and check the same.
Note : All all inputs are showing good value then request you to check the quality attribute in PI Data Archive.
There is a walk through on Youtube on how to troubleshoot this type of issue.
Retrieving data ...