4 of 4 people found this helpful
What is stopping you from using AF SDK 2017 R2 (2.9.5)?
The PIDataPipe has been available since AF SDK 2012. Beginning in AF 2.5 (2012), the AF SDK ships with both a .NET 3.5 version and .NET 4.5 assembly. The .NET 4.5 version of the AF SDK contains support for enhanced data access calls for all attributes. You must be using the .NET 4.5 version in order to have access to the PIDataPipe class.
The PIPoint.RecordedValues is for getting historic data over a time range (batch processing). Let's say you need the past year of data in order to write a yearly report, then you can use this call.
The PIDataPipe is more for stream processing use cases where you want to continuously get updates for your subscribed PI Points.
So to complement, PIPoint.RecordedValues and PIDataPipe are complimentary.