Is there a way to get all the archive values between two times, and guarantee that none of the values will be interpolated?
IAFAttribute.GetValues() seems to always interpolate the end values if there are no values at the first and last timestamp. Do I have to first find the actual timestamps of the first and last archive values in the time range and then adjust the timerange itself before calling GetValues? Seems a bit of a pain!
That depends on the data reference. And if we are talking about PIPoints here, what you want is better achieved through the RDA RecordedValues method with an AFBoundaryType.Inside. It was fastest and simplest to do what you what to do.