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.