0
Use Calc output as input for same calc
Forum / Questions & Answers
Say I have a calc that calculates a modified pressure. I output that to a tag. Straightforward. But then I also want a tag that's a 3 hour rolling average of that modified pressure. Can I bring back in a tag I just calculated? Will it have the data point I just calculated and wrote to tag? Or will that need to be a separate calc?
2 replies
-
Hi ,
You would just create a separate calc that uses the modified pressure tag as its input. If it triggers on Value Change, it will always have the latest value of the modified pressure because there is a delay built in. The Calc service understands the dependency between the 1st and 2nd calc.