PI DataPipe Events Subscription and Data Access Utility using AF SDK - PIEventsNovo

Blog Post created by tramachandran on Nov 6, 2017


The ability to subscribe to PI point updates through data pipes is a convenient feature which helps in both understanding and troubleshooting data flow.

PIEventsNovo is a console application that can be used to sign up for data pipe (snapshot/archive/timeseries) events and additionally provides useful data access features.


Scenarios where this tool might be useful

- Set up data pipe subscription for pi events (including timeseries and future data)

- Fetching current (end-of-stream) values

- Fetching archive values over a particular time range

- Generating interpolated and plot values based on sample duration and pixels in trend

- Summary calculations (Event and Time weighted) over a time range

- Update/Annotate pi events specifying write mode (replace,insert, no compression etc) and buffer option

- Upload values to a tag from a csv file

- Downloading large number of events from the archive into files

- Delete recorded values over a time range


Note: most output formats are comma separated making it convenient to redirect the console output to csv/txt files for further investigation.



Sample outputs


Sign up for snapshot and archive events


TimeSeries data


Current Values


Archive Values


Summary (Event Weighted)


Update (with no compression and buffer event)


Upload data to a pi point from csv file (with mode and buffer options)



Source Code and Technical Documentation

GitHub - ThyagOSI/pieventsnovo: Application to mimic the some of the functionalities of pievents.exe. Uses AF SDK to han…


Change log (refer to GitHub repo for a complete list of modifications)

Version 1.5.6732

  • pointchanges include renames as output for AF 2.10+
  • App.config defaults additionally built into source code
  • switches -v/--version and -p/--params to expose version info and parameters respectively


Minimum Requirements

.NET Framework 4.6.1

OSIsoft.AFSDK Version



During your interactions with our technical support team you might have come across a certain 'pievents' application (inspiration for the current name and functionalities) which performs snapshot and archive data pipe subscription. However, this is not distributed or available for download and it lacks support for relatively modern features like TimeSeries and Future Data.



If you have comments, find issues with the tool, or would incorporate a new feature in this utility, please post them below.


Download Version: 1.5.6732