LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Slow OPC-SV Initialization

Hi all,

 

My project involves reading about 2000+ of data points from a Mitsubishi PLC via OPC server (tagged with the shared variables). The program generally works fine except for one problem... In the initialization routine/state, I connect to each of the shared variables using a for loop and "Open Variable Connection.vi" from the DSC module. Please see the attached image. This process alone takes, generally between 5-10 minutes to complete. The reading from the shared variables (running "Read Variable.vi" in a for loop), however, can be completed relatively fast - less than 2 seconds. 

 

My question is why the initialization takes so long? Is there a better approach to do this? 

 

Please advice.

 

 

Thank you.

 

Shazlan

0 Kudos
Message 1 of 2
(2,182 Views)

Bump up!

 

Anybody?

0 Kudos
Message 2 of 2
(2,167 Views)