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:
- 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?
- 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?
- What is needed (code-wise) to sign up for updates?
Thanks for any help you can provide