LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to disable the optimized compiler in LabVIEW 2010

Solved!
Go to solution

Hello,

 

I have a project that take 3 minutes in LabVIEW 8.6 to build and now with LabVIEW 2010 it take 10.5 minutes. 3x more longer.

 

In fact my project as 61 .lvproj for a total of 4300 vi's that take 1 hour to build. If I interpolate, the entire build process will take 3 hours in LabVIEW 2010. This is not acceptable

 

I know that the new compiler optimize the code for better performance, but if I don't need better performance.

 

Is it possible to disable the optimized compiler in LabVIEW 2010 with an INI key in LabVIEW.ini.

 

 

Dany Allard

LabVIEW ChampionArchitect
0 Kudos
Message 1 of 4
(2,969 Views)
Solution
Accepted by DanyAllard

There is not an INI key or anything to disable the optimizations. NI has recognized this issue and is investigating various ways to help in future versions.

 

One Application Builder setting you might try out to make builds go much more quickly is the Remove Unused Members of Project Libraries checkbox and the Modify Project Library File after Removi....

 

This can drastically cut down the build times. Note, however, that this option does not work well if your application will load external plug-in VIs when it runs, because the libraries of those plug-in VIs may conflict with the modified libraries in the executable file. If you don't have a plug-in architecture, this will not affect you.

Jarrod S.
National Instruments
Message 2 of 4
(2,942 Views)

 

 


@jarrod S. wrote:

 

One Application Builder setting you might try out to make builds go much more quickly is the Remove Unused Members of Project Libraries checkbox and the Modify Project Library File after Removi....

 

This can drastically cut down the build times. Note, however, that this option does not work well if your application will load external plug-in VIs when it runs, because the libraries of those plug-in VIs may conflict with the modified libraries in the executable file. If you don't have a plug-in architecture, this will not affect you.


The "Remove unused members of project libraries" was already selected but not the "Modify project library file after removing unused members" and selecting this cut the build time from 10.5 min to 4 min.

 

 

Thank you Jarrod for this tips

 

Dany

LabVIEW ChampionArchitect
0 Kudos
Message 3 of 4
(2,896 Views)

Resurrecting this thread... I just stumbled across this issue building a mid-sized LVOOP-based application (not a PPL) on LV2012: the build time becomes "infinite" and LabVIEW completely  unresponsive.

 

Refering to the LabVIEW help:

 

http://zone.ni.com/reference/en-XX/help/371361J-01/lvdialog/additional_exclusions_packed_page/

 

this option should only refer to PPL, shouldn't it? So when speicifying a build spec for an exe, why is this option enabled by default and furthermore, why does it have an impact on the process at all?

 

Well, maybe I misunderstood sth.

 

Cheers

Oli

 

 

0 Kudos
Message 4 of 4
(2,569 Views)