LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Large LV application slows computer

You might also want to check this discussion thread for some more information on Subroutine priority.

 

Norbert

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 11 of 12
(301 Views)

@battler. wrote:

Running as subroutine is many times faster.  These are number crunching routines working on large arrays.


This is very surprising and should not be that way. One of the main reason for speedup of the subrouting setting is the fact that the front panel is not updated, even if the panel is open. You only see that apparent speed gain if you compare it with a non-subroutine subVI that has the front panel open, so make sure you have all panels closed when comparing, especially if they contain huge arrays.

 

What kind of "number crunching" is it? Can you describe? What is the definition of "large"?

 

It is really impossible to give more detailed advice without seeing any of the code.

 

Whenever there is a coding challenge, we see that different approaches to the problem can result in orders of magnitude different speeds. Are you sure the code is optimized for e.g. inplaceness, etc.

0 Kudos
Message 12 of 12
(283 Views)