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

Export to a text file Options · View
roaldly
#1 Posted : Thursday, August 04, 2011 9:55:14 PM
Rank: Newbie
Groups: Member

Joined: 8/4/2011
Posts: 1
Location: Stavanger, Norway

I have an application which reads data from a text file. The data, around 20 data points, are available in PI.

The challenge is to find the best way to get the data from PI to the text file at certain intervals (typically every 5 minutes).

For now, PI SDK appears to be the best path to take.

Any opinions on that?

Other (simpler) ways to achieve the same?

Regards,

Smile Roald
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.
squatty
#2 Posted : Friday, August 05, 2011 9:25:51 AM
Rank: Advanced Member

Groups: Member

Joined: 4/7/2011
Posts: 137
Location: KZN, South Africa
Hi roaldly

Welcome

Yep, it seems that SDK is going to be your best option to extract data from PI and them use the VB 'My.Computer.FileSystem.WriteAllText' to "send" the data to a text file.

My.Computer.FileSystem.WriteAllText(YOUR_FILE_LOCATION AS STRING, TEXT AS STRING, True)

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.