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

PISDK and threding in .NET Options · View
be.sule
#1 Posted : Wednesday, March 16, 2011 2:41:13 PM
Rank: Newbie
Groups: Member

Joined: 2/15/2011
Posts: 7
Hey guys,

could somene please help me.

I want to read a lot of data from PI-SDK, so i created a thread where i read the data.
My problem now is, that my main thread gets also blocked if i call the summaries2 method?

Could anyone tell me how to fix this?

thanks!!

EDIT:
So now i think in know where the problem is!
I think because i use the class definied in the main thread the operation is also
executed in the main thread no matter where i call the method from!

If i create a new PISDK-Class in the thread i don't have this problem!
But i need the PISDK-Class also in the main thread and also other threads!

So my question is:
Is there another way?
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.
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.