AnsweredAssumed Answered

Looping through array values returned by RecordedValues function in AF Analytics

Question asked by Arti Rajagopalan on Oct 17, 2019
Latest reply on Nov 4, 2019 by Arti Rajagopalan

I am working on an AF Analytics calculation that requires me to loop through all the values received for a PI tag received in past 2 minutes. Depending on the data quality of the tag, the value is included/excluded in the calculation. 

 

For example:

RecordedValues('dischargeIn|value','*-2m','*') expression returns 0 or more values. I want to loop through the array and select value for calculation based on data quality.

 

All suggestions are appreciated.

 

Sincerely,

Arti

Outcomes