LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

open vi reference slow

Hi,

 

I have developed a packed library *.lvlibp with a few analysis vis which shell be called dynamically by an external exe. I call this vis via the open vi reference. Unfortunately this call (wait until exit of vi) takes very long. My test shows that when I call this vi via the vi-ref it takes 33 seconds - with integration into the external application via sub-vi only 400ms. Is there a way to accelerate this dynamic call? The values to the vi ref are set/get via the control-value attributes.

 

Any hints are appreciated.

 

Best Regards,


--

Joachim

 

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

Hi Joachim!

Maybe your vi is simply taking 33s to be loaded.

Try the following:

- embed your analysis vi in the main vi, in a section of code that is NEVER executed (e.g. FALSE case of a case structure, with a constant TRUE wired to it)

- try again to use "open vi reference" and check if this time is "quicker" (since the vi should be already loaded).

 

Regards,

Marco

 

 

Message 2 of 2
(2,184 Views)