AnsweredAssumed Answered

PI VISION: How can I calculate the Total Time Value of the tag in [STOP] inside a PI Symbol with JS?

Question asked by Jairsinho on May 14, 2019
Latest reply on May 16, 2019 by Eugene Lee

Hello Community,

With the support of the community I have finished implementing the STOP event counter of a digital tag, but I would like to complement this PI Symbol with a total time (hours) counter using JS (start and end times are those consulted in the PI Vision screen).


I seek to emulate the PITimeFilterVal function that PI Data Link has within a PI Symbol.



I request your kind support in knowing if anyone knows of a reference project where they have tried to work with the arrays of the timeseries collected for a symbol and to be able to calc directly.