AnsweredAssumed Answered

How to find out the subtraction between time stamps when Tag value of a particular tag equals to its previous value

Question asked by Sanu on May 28, 2020

IF tagval('tagname') =prevval('tagname') then (timestamp(prevval('tagname')) -timestamp(tagval('tagname'))) else 0 ... I want to implement this expression as filter expression in pi data link but every time it is throwing in valid syntax. I hope i will have my solution here