|
|
Rank: Advanced Member Groups: Member
Joined: 12/3/2009 Posts: 71 Location: Germany/Pennsylvania
|
Hi Lee,
you are still facing this weird problem?
Michael
|
|
|
Rank: Newbie Groups: Member
Joined: 7/25/2010 Posts: 1 Location: Saudi Arabia
|
I tried to use Eventpipe code to get values for more then one tag
Dim pt() As String = {"cdt158", "Sinusoid"} .... If myPoint Is Nothing Then myPoint = myPIServer.PIPoints(pt(pt.Count - 1))
The event is raised only for the last tag (sinusoid), the first one is ignored.
|
|
|
Rank: Newbie Groups: Member
Joined: 8/17/2010 Posts: 7 Location: mississippi
|
I have used the event pipe to track the value of a particular tag in a form based vb.net application. When the value of this tag changes quickly and multiple values are sent to the app the application bogs down and becomes non-responsive. Is there some sort of cleanup that I should be doing with the event pipe? The pc memory is not affected and no other applications running on the pc seem to be affected either. Thanks in advance!
|
|
|
Rank: Member Groups: Member
Joined: 3/1/2010 Posts: 15
|
Michael wrote:Hi Lee,
you are still facing this weird problem?
Michael Yea, I am having this problem, but what I did was just polled for the value every 30 seconds to get what I needed. I know it's not the best way to do it, but it was what needed to be done in the time frame I had.
|
|
|
Rank: Member Groups: Member
Joined: 3/1/2010 Posts: 15
|
sativah wrote:I have used the event pipe to track the value of a particular tag in a form based vb.net application. When the value of this tag changes quickly and multiple values are sent to the app the application bogs down and becomes non-responsive. Is there some sort of cleanup that I should be doing with the event pipe? The pc memory is not affected and no other applications running on the pc seem to be affected either. Thanks in advance! Are you using a delegate to change the value on the form?
|
|
|
Rank: Newbie Groups: Member
Joined: 8/17/2010 Posts: 7 Location: mississippi
|
|
|
|
Rank: Member Groups: Member
Joined: 3/1/2010 Posts: 15
|
sativah wrote:I am using a delegate. can you post the code that is giving you the trouble?? Without seeing it, it's tough. Thanks eh? 
|
|
|
Rank: Newbie Groups: Member
Joined: 8/17/2010 Posts: 7 Location: mississippi
|
Well I went to get the code and decided to do some rearranging while I was there. Seems the problem was just in the way I had the code configured. I am going to do some heavy testing and verify this really did fix it but so far so good. Thank you for the quick response!
|
|
|
Rank: Member Groups: Member
Joined: 4/28/2011 Posts: 10 Location: Brasil
|
Hello there,
Im trying to creat this eventpipe using the Visual Studio 2008. When I start to run the code it stucks on the line "AddHandler myEvents.OnNewValue, myValHandler" saying I need to use the command new. Does some one know how to make it become operational with VS2008?
Thanks,
|
|
|
Rank: Newbie Groups: Member
Joined: 8/24/2011 Posts: 2 Location: Thailand
|
I use this algorithm to run as window service then the trouble I got is memory leak. Somebody know how to fix this issue?
|
|
|
|
Guest
|