AnsweredAssumed Answered

Proper use of TagVal for a notification analyses

Question asked by mjsherin on Aug 21, 2020
Latest reply on Aug 24, 2020 by mjsherin

I am attempting to trigger a notification when a given tag's value has not changed for a 7 day period.  I have the analysis as if (TagVal('MVARs1.Value','t-7d') = TagVal('MVARs1.Value','t')) then true else false, when it is true, i want the notification to be triggered.  However, doing this this way is giving errant results, when i use PI SQL Commander to go back and look at the value for the 2 times, they are not the same value.  Am i missing something or is there a better way to achieve the result i am looking for?  - Thanks.  The value type is defined as a Double

Outcomes