I want to write code to fetch aggregate data and raw data from server.Can any one help on this.Which API and how I should use it.Thanks for help.
We can for sure provide you an example of using PI SDK in C++. Nevertheless, your question about which API you should use indicates that you don't know which PI Developers Technology is more suitable for you. Is this true? Are you developing in C++, right? Note that PI SDK will be deprecated in the future. This is why I would use PI Web API instead. Choosing this option will allow you to use all the new features of the PI System, including future data, AF, Notifications and Event Frames. If you stick with PI SDK, those great PI System features won’t be available for you. This is why PI Web API is a more recommended technology than PI SDK in C++.
If managed code is an option for you, you may be interested using AF SDK. You may be interested getting an overview of the available Developer Technologies. As mentioned by Marcos, there exist deprecated Technologies like PI SDK and we recommend against using them.
Thanks for quick response. Can I know ,what could be tentative life cycle for PI SDK.When PI SDK completely deprecated.
Sometime in future is the best estimation we have. Please don't consider a Developer Technology announced to become deprecated for new development projects.
Thanks for good guidelines. We also started to build connector which will be client for WEB API. Can you help me to get some sample code in java for connect and fetch data from server.
Here is a white paper on the PI Web API with code examples including java.
Retrieving data ...