LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

"Open VI Reference" slowly in development system

Hello,

One of our programs has a plugin structure. We open more than 50 VIs over VI Server. This is fast in runtime system, but slowly in the development system. The problem is the function "Open VI Reference". If you try to open an Ref to a very small vi, it takes nearly 2s per VI. In runtime system this is done in 2-4ms.

So the program takes ages to start in development system.
Is there a way to speed this up?

Thanks

Sletrab

0 Kudos
Message 1 of 5
(2,726 Views)

Where does the application reference point to? If you have a plugin structure I guess the application reference is the current application (LV in development version, the exe in the runtime).

If this is the case, did you try NOT wiring the application reference? This might be faster.

 

0 Kudos
Message 2 of 5
(2,719 Views)

Hello dan_u,

Thanks for the reply. You are right it is the same application. But it makes no difference if the application reference is connected or not.

 

Sletrab

0 Kudos
Message 3 of 5
(2,691 Views)

It's difficult to say what causes this, but it definitely doesn't sound normal.

You say the plugin VIs are rather small, can you attach one to see if I can reproduce the behavior?

Are your plugin VIs stored locally or on a network drive? In the compiled application, are the plugin VIs built into the application or outside?

 

0 Kudos
Message 4 of 5
(2,664 Views)

Is it always slow or fast the first time? Could it be that you're not closing the ref afterwards?

And/or debugging setting in the vi's,, which ofcourse is turned off in a .exe

/Y

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 5 of 5
(2,660 Views)