LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Labview execution speed with hidden VIs

Hi.

 

I just updated from LV 8.5 to 2014 and have noticed that upon closing subVIs with heavy front panel updates I do not regain speed as I did in 8.5. IE, it seems like even though both the block diagram and front panel of a subVI have been closed LV is still updating the front panel thus slowing down execution.

 

Is there a way to disable this?

0 Kudos
Message 1 of 6
(3,016 Views)

Is there a difference if the subVIs front panels are not openend at all from the start?

 

Also, do you see a difference if you close the front panel instead of minimizing it (at least i understand your "hiding the front panel" as "minimizing it")?

 

Norbert

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 2 of 6
(3,008 Views)
I mean close and not minimized. And yes, if I do a fresh load execution is fast.
0 Kudos
Message 3 of 6
(3,000 Views)

Do the VIs that you closed have unsaved changes (such as conversion from 8.5 to 2014)? That will keep them in memory.

Message 4 of 6
(2,990 Views)

Can you show us the code of the subVIs?

Do you do things that force the front panel to be in memory?

(e.g. property nodes).

 

How do you measure the speed difference?

0 Kudos
Message 5 of 6
(2,989 Views)

Thanks for your replies. I solved the issue by turning execution mode of the relevant subVIs into subroutines.

 

Casper.

Message 6 of 6
(2,936 Views)