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?