LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Front panel OPC datasocket does not always sync with server

I have a complex LV8 application using around 100 front panel OPC datasocket variables (both subscribe and publish). I am finding that in some cases the LV data is not always synced with the OPC server. One unusual aspect of my application is that the top level vi opens 4 instances of a template vi each of which run in their own sub panel. Within each instance, the URL's for their FP datasockets are generated programmatically, so for examples for instance 1: pressure_setpoint will have the url "opc://localhost/rslinx opc server/psetpoint[0]". Instance 2 will have "opc://localhost/rslinx opc server/psetpoint[1]", etc. Most of the time things work ok, but now and then I can see, for examples, a FP boolean indicator that is set true but is being read in the opc server as false. Is there a better way of managing this kind of communications? There is very little information explaining how FP datasocket works and how it guarantees synchronization. Thanks.
0 Kudos
Message 1 of 7
(3,265 Views)
Hi sachsm,
    I would like to get a little more information about which variables are not synched correctly.  Are there certain variables that are not synched, or is it random amongst all of them?  What are the url's of the ones that aren't synched correctly?  We need to narrow down the problem as being the communication channel or just certain variables themselves.


Brian B
Account Manager
National Instruments
0 Kudos
Message 2 of 7
(3,244 Views)
I have also experienced the same problem. When application sets a FP boolean indicator to false
0 Kudos
Message 3 of 7
(3,001 Views)
I have also experienced the same problem. When application sets a FP boolean indicator to false it
0 Kudos
Message 4 of 7
(3,001 Views)
I have also experienced the same problem. When application sets a FP boolean indicator to false it is
0 Kudos
Message 5 of 7
(3,001 Views)
I have also experienced the same problem. When application sets a FP boolean indicator to false it is still
0 Kudos
Message 6 of 7
(3,000 Views)
I have also experienced the same problem. When application sets a FP boolean indicator to false the value in OPC server is still true. This seems to happen randomly on some items.
0 Kudos
Message 7 of 7
(2,997 Views)