User Profile

Collapse

Profile Sidebar

Collapse
manem78
manem78
Last Activity: Jul 31 '07, 10:10 AM
Joined: May 30 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • manem78
    replied to deadlock
    in .NET
    Yuhuu!!!
    Is there anybody home...?!? :)
    I need help!!!
    See more | Go to post

    Leave a comment:


  • manem78
    replied to deadlock
    in .NET
    Hi Plater!
    That was the exactly the first idea that came up to me! I created PLC_Busy variable and control the synchronization with it. But the problem with that approach is when you hit the button to write and PLC is busy, program will simply skip over the procedure. Than I need to continue clicking the button until PLC become free and it is not certain that will ever happen.
    So, I actually need some simple synchronization that will...
    See more | Go to post

    Leave a comment:


  • manem78
    replied to deadlock
    in .NET
    Hi debasisdas!
    I am writing SCADA program. mComDriver is a simple communication protocol driver for communication between PLC and PC. It comes with PLC, in this case Unitronics Vision 290. It has simple methods (mComDriver.Rea d_MemIntegers, mComDriver.writ e_MemIntegers,. ..) for reading and writing values from and to PLC. SCADA is reading values from PLC every 1 second (timer.interval = 1000) and has buttons for writing to PLC. The problem...
    See more | Go to post

    Leave a comment:


  • manem78
    started a topic deadlock
    in .NET

    deadlock

    Hi!
    Can someone explain me why I always end up with deadlock in the next piece of code. Deadlock occurs when I hit Button1 couple of times. Thanks!!!
    [code=vbnet]
    Public Module Module_Tags
    'Tag
    Public Class Tags
    Public Shared objLock As New Object
    Public Tag_Address As Integer
    End Class

    'Memory Integer
    Public Class MI_Tag
    ...
    See more | Go to post
No activity results to display
Show More
Working...