I am trying to figure out the best way to retrieve tags data from my pi data archive.
I am writing my code using AF-SDK 2016, and using PIPoint.RecordedValues method that recieves AFTimeRange timeRange parameter to indicate time boundaries for the tags values of interest.
I also understand that AF-SDK has PIDataPipe class that enables to get a continuous flow of data by subscribing to the PI Server and keeping all data changes for tags by demand, and that the retrieval of data is not based on a given time-range, but on maxEventCountPerServer parameter given to the
What I would like to know is, is the PIDataPipe class applicable for AF-SDK 2016? and what are the advantages and disadvantages of using one approach over the other?