AnsweredAssumed Answered

Time to totalize especific value in PI Web API

Question asked by PedroCampos on Sep 9, 2018
Latest reply on Sep 11, 2018 by Eugene Lee

Hi everyone!


I need to get the time to totalize a knowed value of a certain attribute, from a specific datetime.

For example, I want to know the time passed to totalize 1000L of flow rate L/s, knowing of the initial time is 2018-09-07 14:30:00.

There is a way to do that in PI Web API and without create new PIPoints?

I try to build a calculation request with no success.


https://<WEBAPISERVER>/piwebapi/calculation/summary?webid=<WEBID>&starttime=2018-09-07T4:30:00.000Z&endtime=*&expression=TimeLE('<ATTRIBUTEPAHT>', '2018-09-07T14:30:00.000Z', '*', 1000)&summarytype=Total