01-17-2012 10:31 PM
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
01-19-2012 06:04 AM
Bump up!
Anybody?