05-07-2008 06:46 PM
05-08-2008 11:58 AM
05-08-2008 03:53 PM
05-12-2008 08:35 AM
05-12-2008 04:28 PM
05-13-2008 01:12 PM
05-20-2008 02:26 AM
10-07-2008 11:20 AM
I'm having the exact same problem. LabVIEW 7.1 / RSLinx OPC Server / Windows Server 2003
The write.vi freezes up the application untill it gets a confirmation of the write.
I'm trying to use the Timeout feature on the write.vi but as you mentioned, there must be a coding error since that feature doesn't properly. As i see it, if the confirmation is not received within XX amount of time, then it should time out and come out of that state. Unfortunately, it does not.
I just started a new post regarding a Blocking Datasocket Write so i don't have any solution for this at this time.
If you have found a work around i certainly would like to hear about it.
Thanks.
10-07-2008 03:11 PM
Interesting to hear that you have similar problems with RSlinx and an earlier labview version. It appears the problem is with the datasocket write code then.
According to the documentation for datasocket write, wiring '0' to the timeout (or not wiring it as this is the default) should mean the vi automatically returns without waiting for any confirmation. This should run really fast, but doesn't get any faster than about 30 writes/s on my system. Something is locking up the vi that it isn't escaping from.
Hopefully they will fix it. I'll keep an eye on your other thread.
S
10-08-2008 08:52 AM
here is the topic i started a couple days ago:
http://forums.ni.com/ni/board/message?board.id=170&thread.id=359864