TechCon 2016 - PI AF SDK for Beginners

Document created by bshang Employee on Apr 11, 2016Last modified by pthivierge on Feb 9, 2017
Version 5Show Document
  • View in full screen mode


This is the material for the PI AF SDK for Beginners course held during TechCon 2016. It covers basic usage of the PI AF SDK. A background in .NET application development and a familiarity with the PI System (but not PI AF SDK) are assumed. An additional short introduction with reference links for PI AF SDK is available in Appendix 1 of the workbook if further background is needed.


The exercises cover the following topics:

1. Connection and Hierarchy Basics

2. Searching for Assets

3. Reading and Writing Data

4. Building an AF Hierarchy

5. Working with Event Frames


Exercise 2 requires AF 2.8. Others require at least AF 2.5 with .NET Framework 4.x.



The presentation and the user manual are attached to this post.


The Visual Studio solution associated with these exercises are available on GitHub:

GitHub - osisoft/PI-AF-SDK-For-Beginners-TechCon at TechCon2016

and includes

  • Visual Studio Exercises and solutions, all in the same VS Solution
  • XML of AF Database

Click "Download Zip" on the right-side of the toolbar OR fork and clone to your local repository.



Any comments and questions are welcome in this thread.