AnsweredAssumed Answered

Set Calculation method for .InterpolatedValues2

Question asked by IJourneaux on Aug 6, 2019
Latest reply on Aug 7, 2019 by IJourneaux

I am using InterpolatedValues2 to retrieve data for a tag suing the following snippet:


Set ppoint = server.PIPoints.Item(tagnm)
Set pdata = ppoint.Data
Set ipdata2 = pdata

Set pvalues = ipdata2.InterpolatedValues2(StartDate, EndDate, Period, FilterString)


This is working as it should but I would like to also specify the interpolation method used. Is this possible with InterpolatedValues2?  Is there another function I could use that would accomplish what I am trying to do?