AnsweredAssumed Answered

PI Web Services - GetSnapshotData() or GetPIUpdates()?

Question asked by DSmith1 on Feb 3, 2016
Latest reply on Apr 6, 2016 by DSmith1

I've written a very small .NET application that uses PI Web Services to GetSnapshotData() for ONE PI point on another system. The .NET application is a scheduled task that runs every 3 minutes on a windows machine.


I was reading through the PI Web Services user guide and have many times seen options to sign up for updates. This will give the client (or machine) a ticket to get updates for a particular set of PI points.


So my questions:

  1. How would you go about making an application to pull snapshot data for one PI point using PI Web Services? Would you use GetSnapshotData() or PIUpdates?
  2. I may have also seen something like this with AFSDK... what are the pros/cons to calling GetUpdates() rather than running a scheduled job that gets snapshot data? Both for PI Web Services and AF?
  3. What is needed (code-wise) to sign up for updates?


Thanks for any help you can provide