|
|
Rank: Newbie Groups: Member
Joined: 10/13/2011 Posts: 2 Location: Reading
|
Hi everyone,
I have a requirment to access PI data using web-services as a secure data transport mechanism for certain applications which use PI data. I am not looking to display on a web page so not sure I need web parts. Is this kind of data access built into the basic 2010 server install / SDK or will I have to buy more OSI stuff?
Cheers
Paul
|
|
|
|
|
OSIsoft vCampus is a subscription-based, online offering that consists of providing everything people need to develop applications on the PI System. We invite you to take a "tour" of the OSIsoft Virtual Campus - also feel free to consult the FAQ or contact OSIsoft vCampus for more details.
|
|
|
Rank: Administration
 Groups: Administration
Joined: 6/20/2008 Posts: 617 Location: Cheshire, United Kingdom.
|
Hi Paul...OSIsoft have their PI Web Services product that you can use for this task. Of course you could just write your own web services too. Principal Consultant Real-Time Data Management @ Wipro Technologies
|
|
|
Rank: Newbie Groups: Member
Joined: 10/13/2011 Posts: 2 Location: Reading
|
Hi Rhys, Of course, sometimes you get so immersed in the PI world you assume everything needs a PI addin or tool. Whereas sometimes the DIY approach is fine.
|
|
|
Rank: Newbie Groups: Member
Joined: 5/25/2011 Posts: 4 Location: Belgium
|
it is not built-in. As mentioned, OSIsoft has their own product to access PI via webservices, but it is possible to get a basic webservice going using PI-SDK. There are a few quirks involved in getting this running reliably but it is possible.
A few hints regarding the quirks: * accessing value attributes like 'questionable' is much faster if the code runs in an STA thread (due to behind the scenes marchalling between threads in MTA mode I think). * use ServerManager object * easy way to force all SDK code in an STA thread is running the code from a hidden windows form in your webservice and use Invoke to execute sdk code in the form. (stole this idea from an example osisoft used to have on their website, I'm guessing they still use this tactic in their own webservice)
|
|
|
|
Guest
|