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.
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.