LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

OPC "Datasocket Open.vi" in a FOR LOOP: why does init time increases?

Hello,

I am using Datasockets to communicate to a local Kepware OPC server where tags are simulated (so no connection to PLC devices). I made the test in Labview 2012 and Labview 2022 and have the same issue. The time taken by each iteration of the FOR LOOP to open the Tag path using the "Datasocket Open.vi" vi increases from 3 to 80ms! I have got 30000 tags to initialize and the whole initialization step is just too long. 

The situation worsens when I use tags connected to real PLC. 

At first I thought it might be the outputs to the FOR LOOP that kept building but even without them (Test_Datasockets_Image3.PNG) I still get the same results. 

Can I improve this situation by keeping using Datasockets? 

Thank you

Christophe

0 Kudos
Message 1 of 1
(381 Views)