dennisn

AFAttribute GetValues without interpolation

Discussion created by dennisn on Jan 8, 2014
Latest reply on Jan 9, 2014 by lZheng

Hi!

 

I am trying to read in all AFAttribute values for a specific time range.
In case of a PiPoint reference this is done using the point.Data.RecordedValues functions which works fine.

 

If the AFAttribute uses a Formula reference I am having issues to just get the archived values without any interpolated added on. Is there any way to have a function similar to the RecordedValues that only returns formula results for actual result values?

 

My scenario in detail:
Attribtute1: PiPoint reference
Attribute2: FormulaReference -> A=Attribute1;[roundfrac(1,2)]
Using the AFAttribute.GetValues(TimeRange, 0, null) returns additional interpolated values instead of only the ones based on PiValues from Attribute1.

 

Thanks!

Outcomes