Skip navigation
All Places > PI Developers Club > Blog > 2017 > November

Hello PI Geeks!


We are planning our next Hackathon at PI World 2018 where we expect tens of esteemed PI professionals, industry experts, and data scientists to compete. You can have your business challenge be the topic of the event which means there will be a whole group of engineers who will compete to add value to your business by solving one of your challenges.


We have been hosting several successful hackathons over the past few years (2017 SF, 2017 London, 2016 SF, 2016 Berlin, 2015 SF). In 2016, for example, the topic of the Programming Hackathon was Innovation Around Smart Cities. Data was sponsored by the San Diego International Airport and made available to our hackers. The executives from the airport were really happy with the final results of the hackathon mainly because:


  • They were inspired by the new creative apps and business models developed by our hackers, which could add a lot of value to their business.
  • They learned new ways to gain insight into the data they already had in their PI System.
  • They were able to detect where they could be more efficient in their industrial processes.


While starting to organize the PI World SF Hackathon 2018 we are looking to find our data sponsor. This is where you come in! We are seeking for a  customer who may be willing to share their data with us for the event. A good data sponsor typically has the following qualifications:


  • Owns a PI System with AF already in place
  • Has a few data-oriented high level business challenges or aspirations
  • Has at least tens of assets and many hundreds of data streams in place
  • Has at least 1 year of historical data
  • Has sampling rate of at least several samples a minute on the majority of the tags
  • Is willing to share their data with us – We are willing to consider an anonymized/obfuscated version of the dataset as well


In case you are interested becoming the new data sponsor for the Programming Hackathon, please don’t hesitate to contact me by e-mail (


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

I am pleased and excited to let you know that we will soon roll out two significant enhancements and a series of minor improvements to PI Developers Club:

  • If you are not a member yet but are interested in trying out PI DevClub member features you will be able to start a trial subscription right form the website. The goal is to let any interested person a chance to try and see how much value PI DevClub membership offers without having to pay upfront. The trial period is designed to last 45 days; at that point the subscriber will have the choice to renew and become a regular member. To be eligible two conditions need to be met: i) the individual cannot have been a member for the past two years; ii) the individual cannot have regular vouchers available to her/him to use and become a regular subscriber.
  • If you are a member already you will be able to unconsume (release) your voucher as a self-service feature; today you need to email us to do so. We believe this move gives more control to our subscribers on how to use their subscriptions.
  • Across the board we will be improving the user experience when it comes to purchase, renewal, and managing subscriptions.


We are planning to roll out these features over the coming weeks. Stay tuned!

The Technology Enablement team (okay, mainly Marcos) has published an interesting number of PI Web API client libraries on GitHub, I have created this page so you can have quick access to those bits:


PI Web API client library for .NET Framework

PI Web API client library for .NET Core

PI Web API client library for VBA

PI Web API client library for PHP

PI Web API client library for Java and Android

PI Web API client library for jQuery

PI Web API client library for AngularJS

PI Web API client library for Angular 4

PI Web API client library for Python (still in development)

PI Web API client library for R (still in development)

PI Web API client library for Go


If you have questions, please don't hesitate to ask!


DISCLAIMER: The GitHub repositories are examples of interesting things you may do with PI Developer Technologies.  However, these client libraries are not official OSIsoft products.  You are free to use the code, not use the code, or even modify the code as required by your own applications.

Filter Blog

By date: By tag: