MichaelvdV@Atos

OData webservices for PI?

Discussion created by MichaelvdV@Atos on Apr 22, 2010
Latest reply on Aug 16, 2013 by dnoonen

Lately there has been a lot of talk about the Open Data Protocol (OData). Microsoft seems really committed to it, and Steve talked about it here . He requested some input on the subject, so I have the idea that we as vCampus could have the opportunity to have some influence here...

 

I was wondering what vCampus members think of having an OData interface to PI. This would consist of a webservice, serving the PI data in AtomPub format using the REST architecture.

 

This type of interface would create a unified interface to the PI system (and maybe even AF data). Please look at the examples givin in Steve's blogpost . Using LinqToPi (one of the new community projects) this can be achieved fairly easy. I have prepared a sample here .

 

Here are a few screenshots of what it could look like:

 

http://imgur.com/n6lur.png

 

http://imgur.com/NOklD.png

 

http://imgur.com/sAzUH.png

 

http://imgur.com/gdBWf.png

 

Having an XML interface is cool, but it's a loot better when there are client SDK's and client applications available to consume them. Luckily, there are!

 

PowerPivot for Excel 2010, which has been demonstrated on vCampus Live! can consume OData.

 

A lot of SDK's have been made available. You can have a look at the .NET SDK's. They are really easy to use (in the LINQ way).

 

So vCampus: do you think this could be a good way to produce and consume PI and AF (meta) data?

 

 

 

 

 

 

Outcomes