YetAnotherForum
Welcome Guest Search | Active Topics | Log In | Register

web scrapping into processbook. Options · View
SP@EXC
#1 Posted : Tuesday, April 13, 2010 6:46:43 AM
Rank: Newbie
Groups: Member

Joined: 4/13/2010
Posts: 2
Location: USA
Hi All,

i wanted to find out if it would be possible to scrape a value from public site directly into process book.

if it is possible, could someone please show me the step-by-step as i am a new user to the product.

thanks,
Sponsor  
 

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.
RJK Solutions
#2 Posted : Tuesday, April 13, 2010 8:09:49 PM
Rank: Administration

Groups: Administration

Joined: 6/20/2008
Posts: 612
Location: Cheshire, United Kingdom.
Hi SP@EXC,

The short answer is yes, it can be done.
The longer answer is it depends on what you want to do with the value and what the data is. For example, if you are scraping a web page for weather data then rather that parsing the html there are numerous web services you could use. Also, is the scope of the data you are scraping only applicable to the ProcessBook display or could it be useful elsewhere? i.e. Should you be getting the data and sticking it in a PI Point via PI-ACE? The data would then be exposed further.

For a quick and dirty solution you can use MSXMLHTTP object to load a URL and parse the returned html (responsetext).

There are of course other ways but if you can share a little bit about the scope and type of data it will be easier to point you in the right direction.

Cheers,

Rhys.

Principal Consultant
Real-Time Data Management @ Wipro Technologies
SP@EXC
#3 Posted : Thursday, April 22, 2010 2:06:55 AM
Rank: Newbie
Groups: Member

Joined: 4/13/2010
Posts: 2
Location: USA
thanks Rhys,

what i am trying to create is pull data from http://mospublic.ercot.c...p/frequency_control.jsp into my process book.

i would like to pull all the information... but being a novice at the app, this is kicking my rear end.

SP@ EXC
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.