I'm wondering if I can use Datalink to gather data from our PI server just as the code below, the type is set to be average. I can do it on a per pipoint basis so I don't need a pipoint list
var listAvgResults = pointList.Summaries(myTimeRange, span, type, AFCalculationBasis.TimeWeighted, AFTimestampCalculation.Auto, config);
I found a link that helped
PI SDK/AF SDK Equivalents for DataLink Functions
I needed to use the Datalink function palette for Calculated Data then (most important!) use the timespan entry.
Retrieving data ...