Ashok_NK

Expressions do not support PI Points whose UOM configuration differs from its attribute's in Attribute

Discussion created by Ashok_NK on Jul 8, 2013
Latest reply on Jul 12, 2013 by cmanhard

Hi

 

I am attempting to evaluate an expression similar to:

 

 

 
string expression = @"'XYZ\Fields\eeeee|Total Gas' + 'XYZ\Fields\dddddd|Total Gas'";

afValues = AFCalculation.CalculateAtIntervals(db, expression, timeRange, new AFTimeSpan(TimeSpan.FromMinutes(30)));

And I get the error:

 

Expressions do not support PI Points whose UOM configuration differs from its attribute's in Attribute 

 

Is there any parameters or other suitable API methods that will allow me to evaluate this expression.

Outcomes