LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Application build takes very long time

Recently building applications has started taking a very long time. Before, similar applications took 30 seconds or less for a build, but currently 5-10 minutes is not uncommon. 

 

The perplexing part is how the time is distributed. The builder will spend 3-5 minutes each on the first two "processing" tasks it undertakes, namely:

 

Processing NI_AALPro.lvlib...

Processing NI_Gmath.lvlib...

 

Which amount for about 1% of the progress bar. Once it finished processing these two libraries, the final 99% finishes in about 3 seconds.

 

Has anyone run into this issue before? I suspect I've misplaced files for the two libraries causing the hangup and the builder is having to go searching for them, but I don't know how to remedy this situation. Any suggestions would be appreciated.

0 Kudos
Message 1 of 14
(4,497 Views)
I find that when I include DAQmx in my build it can take up to 30 minutes to build an Installer.  I have not seen this with builds that dont include DAQmx though.
Message 2 of 14
(4,492 Views)

Ah well... not the answer I was hoping for but I guess that means I haven't actually broken anything.

 

Thanks for the info!

0 Kudos
Message 3 of 14
(4,464 Views)

This seems to be the only entry that aims exactly at my problem.

 

With 8.2.1 it took me a minute to build an application.

 

Since I use 8.6 it takes up to 15 minutes.

(its also LV owned lvlibs that use most of the time)

 

Is there a workaround for this Problem?

 

Thanks - Svente

 

0 Kudos
Message 4 of 14
(4,359 Views)

Hi Sven,

 

Have you done a mass compile since you upgraded?  You can do a mass compile by selecting Tools » Advanced » Mass Compile.  That may help reduce time for each individual build.  It will do a mass build of all of the LabVIEW libraries.

 

Best Regards,

 

Bryan H.
Message 5 of 14
(4,338 Views)
Are you in 8.6?  Do you use the new 3D Graph control?  When I updated my graphs to use the new one the builds took over 30 minutes.  When I switched back to 8.5's it built quickly again.
--
Tim Elsey
Certified LabVIEW Architect
Message 6 of 14
(4,330 Views)

Hi Tim,

 

I'm not using any 3D Graphs .

 

Hi Bryan,

 

I was thinking about a mass compile. But I have to handle such things with great care since I have to use 8.2.1 for Fieldpoint 2k and 8.6 for FPGA and the "rest".

 

The vi's and the lvlib itself were installed with lv 8.6 - why then should I mass compile them? Nevertheless I think this should solve the problem - just have to pick the particular lvlibs and hope that none of my Fieldpoint applications uses one of 'em.

 

Thank you very much.

 

 

Svente

 

 

0 Kudos
Message 7 of 14
(4,304 Views)

I have the same problem with App Builder.

 

Solution

1) Open project and do not open any LV

2) Compile EXE to local drive

3) If >1 Min - > Cancel (can continue and and compile progress :-)))).

If not - close Labview process and go to 1)

 

Solve this bug!

0 Kudos
Message 8 of 14
(4,294 Views)
For the projects that were building quickly in one version of LabVIEW and now much slower, would it be possible to post the code or an example that demonstrates the problem?
George M
National Instruments
0 Kudos
Message 9 of 14
(4,278 Views)

I hope it works....

 

 

 

(most time goes with the "NI_AALpro.lvlib")
Message Edited by Sven Kraus on 02-26-2009 03:42 PM
0 Kudos
Message 10 of 14
(4,264 Views)