I have used start time= ="*-2d" and end time="*" but unable to get any value.
You need to use the GetPIArchiveData method with an "af:" path designator. The start and end times you listed are valid ones.
Note, PI Web Services 2010 can only retrieve AF data from attributes configured with the PI Point Data Reference or no Data Reference at all. PI Web Services 2010 R2 (to be released shortly) will deliver much broader support for AF, namely other Data References (e.g. formula, table lookup, even custom Data References when developing according to standards).
Does that help?
Could you please provide some details on the new enhancements of Rel 2. I checked the PI System road map : http://techsupport.osisoft.com/techsupport/NonTemplates/roadmapDetail.aspx?product=PI%20Web%20Services
For PI webservice, I notice that you are introducing GetPISnapshotData. What exactly it is? And can be the use case of this operation?
As you may know about the data flow in a PI System, the events pass through PI Snapshot on their way to the PI Archives. More importantly, not every event in the Snapshot makes it to the archive due to compression.
GetPISnapshotData will provide access to the PI Snapshot events as opposed to archive which is already available through PI Web Services. When you need the latest event posted to the PI Snapshot at any time this should be the way to go as opposed to using archive methods. in the new release, it will support additional insert modes; these are important features when you want to send events to PI through PI Web Services which determine how PI should handle possible duplicate events among other things.
AhmadAs you may know about the data flow in a PI System, the events pass through PI Snapshot on their way to the PI Archives. More importantly, not every event in the Snapshot makes it to the archive due to compressio
Yes very good point Han Yong thanks! The upcoming webinar will shed lots of light on what every single event undergoes before landing (or not landing) in PI Archives. You can go ahead and register here for the upcoming vCampus-exclusive webinar titled "PI System 101 - What makes time-series data and PI special"
FarooqCould you please provide some details on the new enhancements of Rel 2.
FarooqFor PI webservice, I notice that you are introducing GetPISnapshotData. What exactly it is? And can be the use case of this operation?
Are you still experiencing this issue? Can you share a snippet of the code you are using?
Thank you for your detailed responses. I registered for the session.
As of now I am consuming the service for getting PI achieve data. So once I have bulk of tag names ready I will be in position to post more questions :)
Immense thanks for your valuable contributions
I'll be joining this call.
As I said earlier, instead of any programming language, I'm using SAP Process Integration to consume TimeSeries Service.
Retrieving data ...