I am current using NoOutput() in an AF Analyses as one possible output of an IF THEN ELSE. The mapped output tag is the trigger for another analysis. NoOutput() appears to trigger the other analysis. Is this expected behaviour?
NoOutput() will not trigger any analysis basically it will not write anything to the tag if you say No Output so it cant be a trigger to another tag when there is no output written.
I would have my doubts. How did you test that this is the case?
It is not the expected behavior and I am quite sure it doesn't happen in normal real time mode.
I am just wondering if it can happen during backfilling due to some error in the way analysis dependency is treated. I suppose you should add more information as the software versions you are using, if it is in real time calculation or when backfilling and the formula you are using in the 2 calculations.
It is happening in real time mode. You may be right about the analysis dependency though.
Everybody agrees that it is not the expected behaviour so I need to do some further digging.
Request you to check preview of your both analysis. Might be a case where output tag (PI point) is mapped in some other analysis as an output(other than existing).
This is expected behavior and has caused me frustration!
You can learn more about this behavior here as well as a workaround: KB01127 - Dependent Analysis using NoOutput() Could Still Trigger Results
Also, the behavior changed in AF 2018 described here: 39182 - Dependent analyses are triggered even if the trigger value was NoOutput()
Dan is correct. We're introducing a new Exit() function in the next release. Name is self-explanatory :-).
Exit() function will add lot of benefit in calculations where input data is bad. Thanks for letting us know.
Retrieving data ...