-
Re: how we can fetch records based on Time for the last two days from PI AF using PI web services.what will be be Start and end time
spilon Dec 9, 2010 1:05 PM (in response to jagadeesh.macherla)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?
-
Re: how we can fetch records based on Time for the last two days from PI AF using PI web services.what will be be Start and end time
farooquf Dec 10, 2010 10:39 AM (in response to spilon)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?
Regards,
Farooq
-
Re: how we can fetch records based on Time for the last two days from PI AF using PI web services.what will be be Start and end time
Ahmad FattahiDec 11, 2010 1:36 AM (in response to farooquf)
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.
-
Re: how we can fetch records based on Time for the last two days from PI AF using PI web services.what will be be Start and end time
hanyongDec 12, 2010 1:48 PM (in response to Ahmad Fattahi)
Ahmad
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 compressio
We'll be covering more about data flow in a PI System (Archive, Snapshot) in the upcoming webinar. If you would like to find out more abou this, then register yourself for the webinar =)-
Re: how we can fetch records based on Time for the last two days from PI AF using PI web services.what will be be Start and end time
Ahmad FattahiDec 14, 2010 12:05 AM (in response to hanyong)
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"
-
-
-
Re: how we can fetch records based on Time for the last two days from PI AF using PI web services.what will be be Start and end time
spilon Dec 14, 2010 3:43 PM (in response to farooquf)Farooq
As described in the PI System Roadmap, version 2010 R2 of PI Web Services will provide greater support for the PI Asset Framework (AF), particularly for Attributes that use a Data Reference other than PI Point. 2010 R2 also offers support for additional "insert" modes (e.g. replace), a "get snapshot" method, a "tag search method", as well as support for netNamedPipe bindings.
Could you please provide some details on the new enhancements of Rel 2.Farooq
As Han Yong and Ahmad pointed out, you will most likely learn more about the PI System data flow and the concepts of snapshot and archive values, in the upcoming webinar. As I pointed out in my first post of this thread, you will need to use GetPIArchiveData (not GetPISnapshotData) to fetch records for the last two days.
For 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?
-
Re: how we can fetch records based on Time for the last two days from PI AF using PI web services.what will be be Start and end time
farooquf Dec 14, 2010 4:00 PM (in response to spilon)Hi Guys,
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
Regards,
Farooq
-
Re: how we can fetch records based on Time for the last two days from PI AF using PI web services.what will be be Start and end time
farooquf Dec 22, 2010 3:55 PM (in response to farooquf)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.
-
-
-
-