LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

binding trouble

Hi
I have a problem with shared variable bindings. I declared some thousands of variables in a few libraries and every one is binded to a remote shared variable engine. The client and server both runs on win2000. Everything works ok for about 20-30 min after which the connection fails and I get the error: -1950679023 (The connection to the server was disconnected). After another 20-30min the connection is restored and so on.
I tried to use the opc client, which has the option to automatically reconnect on conection failure, but it is not an option because of the CPU usage on the server computer (on thousands of connection the CPU stays on 90%).
I was wondering if there is an option for the logos connections which enforce a rapid reconnection on netwok failures.
cosmin
0 Kudos
Message 1 of 4
(3,094 Views)
Have you tried DataSocket instead of shared variables?   I don't know why, but it seems DataSocket connections work quite a bit faster than shared variables,   even with read and write on the same machine, and they just seem to be more generally reliable on a congested network.  I've haven't run thousands of DataSocket variables, but I've run hundreds, and never had any problems.
 
Just a thought.
0 Kudos
Message 2 of 4
(3,083 Views)

Hi,

datasocket does not work for me, because i need the update event on shared variables (available in dsc8.20). Working with activex version of datasocket, which exposes the data updated event, just eat all memory on thousands of connections.

cosmin

0 Kudos
Message 3 of 4
(3,077 Views)

Another interesting thing:

in course of resolving the slow reconnecting on binding variables, we create some libraries with bindings to the OPCLabview ver.7.1 (the old version of our server which updates the tags, so in this test the shared variables are connected to the Tag Engine). The interesting thing is that the disconections does not occur anymore, as in case of the SVE.

The SVE and the TagEngine resides in the same network, and the client in a different one.

cosmin

0 Kudos
Message 4 of 4
(3,047 Views)