A custom data reference plug-in to PI AF that supports AF Data Pipe. This data reference, called SQLDR, simply gets the timestamps and values from the specified SQL table for display in PI AF.
You can obtain the Visual Studio 2013 solution and the associated files from the repository. This project contains references to OSIsoft.AFSDK.dll, which is available in the GAC once PI AF Client are installed. The code was tested with PI AF SDK 2.6.2. You will need a PI AF Server, as well as a MS SQL server containing a table with timestamps and numeric values.
Detail implementation and description of this project can be found in the blog post in PI Developers Club.
Please see the file named LICENSE.md.