Developing Applications with PI AF SDK

Discover how easy it is to develop powerful AF SDK based applications in this online course. This is a unique opportunity to learn the basics of the programmatic access to the PI System using AF SDK.

About this course

Note: This course is currently not open for new registrations due to changes we are making to our online class workflow. However, it will become available again on January 1st. After that time you will be able to register, view the content, take assessments, and earn your certificate at any time. In the meantime you can still access the videos for our training classes in the different playlists on our YouTube channel and boot Training Cloud Environments by purchasing a one month or one year subscription. We apologize for any inconvenience caused.

Discover how easy it is to develop powerful AF SDK based applications in this online course. This is a unique opportunity to learn the basics of the programmatic access to the PI System using AF SDK. 

By the end of the course, you will be able to:

  • Access and explore AF hierarchy to retrieve an asset’s current and historical data
  • Search for and display notifications
  • Consume real-time streaming events via a data pipe
  • Write a custom data reference
  • Choose the right approach to implement a custom data reference that suits your development scenario

Audience: This course is primarily suited for developers who have a basic understanding of the PI System, including Asset Framework (AF), Asset Analytics and Notifications. 

Level: Introductory

Time: 40 hours

Prerequisites: 

  • This course requires a basic grasp of programming and Visual Studio. 

Price: 

  • 259 USD: By signing up for this course you will have access to:
    • OSIsoft Engineers who can review your final project
    • Sharable certificate of completion that can be directly posted on LinkedIn (*To obtain the certificate of completion, you need to pass the final project.)

You can also audit the video lecture content on the OSIsoft Learning YouTube Channel. This does not include the exercises, supplementary readings, graded final project or certificate of completion. 

Software Requirements: 

There is no Training Cloud Environment available for this course. In order to follow along with the videos and complete the exercises, learners will need:

  • Microsoft Visual Studio (2013 or later)
  • .NET Framework 4.5.2 or later
  • PI System (running and collecting data with write access)
    •  PI Data Archive
    • PI AF Server (2016 R2 or later for Notifications)

Grading and Certification of Completion: 

Once you register for this course, you must select one of the final submission review periods below. During this period, our course facilitators will be available to review and grade your project. If you don't receive a passing grade in the first submission, you can re-submit your work again during the 1 week review period.

 

Course Outline

  • Getting Started
  • Key Course Information
  • Course Grading Scheme
  • Final Project Submission Deadline
  • How to Navigate This Course
  • Offline Course Videos for Blocked YouTube Users
  • Lesson 1 - PI AF Basics: Building a Tank Farm
  • Describe Templates and Attributes
  • Create Attributes with Formula & Table Lookup Data References
  • Describe Units of Measures (UOM) Plugins
  • Perform Rollup Analyses in AF Templates
  • Use Relative Reference Check-in in Formula Data Reference
  • Notes on Knowledge Checks
  • Knowledge Check: Create Weather AFDatabase and 30 related PI points
  • Sample Solution: Create Weather AFDatabase and 30 related PI Points
  • Lesson 2 - Building a Simple PI AF Applet
  • AF SDK Development Environment & Versions
  • Introduction to AF SDK
  • Connect Controls & Treeview Elements
  • Specify Time & Timerange for Data Calls for Selected Attributes
  • Get Data Values Using Get Values Method
  • Specify Units of Measure for Data Values
  • Get Additional Data Values
  • Recognize More AF SDK Data Methods
  • Knowledge Check: Create Weather WinForm Application
  • Sample Solution: Create Weather WinForm Application
  • Lesson 3 - View Notifications
  • Using Notifications 2016 R2 or Later
  • Lesson 3.1 - Preparing the Sample AF Database
  • Add Limit Traits to an Element Template
  • Explore the Sample Tank Event Frame Templates
  • Create Notification Rule Templates based on Analysis Templates
  • Lesson 3.2. Further Developing the PI AF Applet
  • Display Notification Rules Associated with an Element
  • Display Notification Instances Associated with an Element
  • Knowledge Check: Add Notifications for High Temperatures
  • Sample Solution: Add Notifications for High Temperatures
  • Lesson 4 - Custom Data Reference
  • Asset Analytics vs. Custom Data Reference
  • Design Choices for your Custom Data References
  • Create a New Class Library
  • Build a Configuration String
  • Get Inputs from Data Reference
  • Get Values by Programming Data References
  • Explore Additional Data Methods in AF SDK
  • Register & Debug Data References
  • Use Substitution Parameters
  • Build a Graphical Editor for a Data Reference
  • Knowledge Check: Create Limit Check Data Reference
  • Sample Solution: Create Limit Check DataReference
  • Lesson 5 - PI Points and Pipes

    For eLearning, this section will detail the means of submitting the final project for the course.

     

  • Find PI Points in AF SDK
  • Use Data Pipes to Get Repeated Data From PI Points
  • More about Data Pipes
  • Knowledge Check: Monitor a PIDataPipe
  • Sample Solution: Monitor a PIDataPipe
  • Final Project
  • Where to Find Additional HELP for AF SDK
  • Final Project: Create Your Own AF SDK Application
  • Course Evaluation
  • How did it go?
  • Next Steps
  • After Class Sample Projects, Advanced Topics & Challenges

About this course

Note: This course is currently not open for new registrations due to changes we are making to our online class workflow. However, it will become available again on January 1st. After that time you will be able to register, view the content, take assessments, and earn your certificate at any time. In the meantime you can still access the videos for our training classes in the different playlists on our YouTube channel and boot Training Cloud Environments by purchasing a one month or one year subscription. We apologize for any inconvenience caused.

Discover how easy it is to develop powerful AF SDK based applications in this online course. This is a unique opportunity to learn the basics of the programmatic access to the PI System using AF SDK. 

By the end of the course, you will be able to:

  • Access and explore AF hierarchy to retrieve an asset’s current and historical data
  • Search for and display notifications
  • Consume real-time streaming events via a data pipe
  • Write a custom data reference
  • Choose the right approach to implement a custom data reference that suits your development scenario

Audience: This course is primarily suited for developers who have a basic understanding of the PI System, including Asset Framework (AF), Asset Analytics and Notifications. 

Level: Introductory

Time: 40 hours

Prerequisites: 

  • This course requires a basic grasp of programming and Visual Studio. 

Price: 

  • 259 USD: By signing up for this course you will have access to:
    • OSIsoft Engineers who can review your final project
    • Sharable certificate of completion that can be directly posted on LinkedIn (*To obtain the certificate of completion, you need to pass the final project.)

You can also audit the video lecture content on the OSIsoft Learning YouTube Channel. This does not include the exercises, supplementary readings, graded final project or certificate of completion. 

Software Requirements: 

There is no Training Cloud Environment available for this course. In order to follow along with the videos and complete the exercises, learners will need:

  • Microsoft Visual Studio (2013 or later)
  • .NET Framework 4.5.2 or later
  • PI System (running and collecting data with write access)
    •  PI Data Archive
    • PI AF Server (2016 R2 or later for Notifications)

Grading and Certification of Completion: 

Once you register for this course, you must select one of the final submission review periods below. During this period, our course facilitators will be available to review and grade your project. If you don't receive a passing grade in the first submission, you can re-submit your work again during the 1 week review period.

 

Course Outline

  • Getting Started
  • Key Course Information
  • Course Grading Scheme
  • Final Project Submission Deadline
  • How to Navigate This Course
  • Offline Course Videos for Blocked YouTube Users
  • Lesson 1 - PI AF Basics: Building a Tank Farm
  • Describe Templates and Attributes
  • Create Attributes with Formula & Table Lookup Data References
  • Describe Units of Measures (UOM) Plugins
  • Perform Rollup Analyses in AF Templates
  • Use Relative Reference Check-in in Formula Data Reference
  • Notes on Knowledge Checks
  • Knowledge Check: Create Weather AFDatabase and 30 related PI points
  • Sample Solution: Create Weather AFDatabase and 30 related PI Points
  • Lesson 2 - Building a Simple PI AF Applet
  • AF SDK Development Environment & Versions
  • Introduction to AF SDK
  • Connect Controls & Treeview Elements
  • Specify Time & Timerange for Data Calls for Selected Attributes
  • Get Data Values Using Get Values Method
  • Specify Units of Measure for Data Values
  • Get Additional Data Values
  • Recognize More AF SDK Data Methods
  • Knowledge Check: Create Weather WinForm Application
  • Sample Solution: Create Weather WinForm Application
  • Lesson 3 - View Notifications
  • Using Notifications 2016 R2 or Later
  • Lesson 3.1 - Preparing the Sample AF Database
  • Add Limit Traits to an Element Template
  • Explore the Sample Tank Event Frame Templates
  • Create Notification Rule Templates based on Analysis Templates
  • Lesson 3.2. Further Developing the PI AF Applet
  • Display Notification Rules Associated with an Element
  • Display Notification Instances Associated with an Element
  • Knowledge Check: Add Notifications for High Temperatures
  • Sample Solution: Add Notifications for High Temperatures
  • Lesson 4 - Custom Data Reference
  • Asset Analytics vs. Custom Data Reference
  • Design Choices for your Custom Data References
  • Create a New Class Library
  • Build a Configuration String
  • Get Inputs from Data Reference
  • Get Values by Programming Data References
  • Explore Additional Data Methods in AF SDK
  • Register & Debug Data References
  • Use Substitution Parameters
  • Build a Graphical Editor for a Data Reference
  • Knowledge Check: Create Limit Check Data Reference
  • Sample Solution: Create Limit Check DataReference
  • Lesson 5 - PI Points and Pipes

    For eLearning, this section will detail the means of submitting the final project for the course.

     

  • Find PI Points in AF SDK
  • Use Data Pipes to Get Repeated Data From PI Points
  • More about Data Pipes
  • Knowledge Check: Monitor a PIDataPipe
  • Sample Solution: Monitor a PIDataPipe
  • Final Project
  • Where to Find Additional HELP for AF SDK
  • Final Project: Create Your Own AF SDK Application
  • Course Evaluation
  • How did it go?
  • Next Steps
  • After Class Sample Projects, Advanced Topics & Challenges