LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

project mass compile - how does it work

Solved!
Go to solution

Can anyone explain - or point me to documentation - what LabVIEW does when I start mass compile by using the menu option from the project window?

 

TiTou_0-1667983818787.png

 

 

It seems to take much longer when doing this rather than mass compiling the folder containing the project (from Tools >> Advanced... >> mass compile, why?

Edit :

My project's mass compile has been running for over 10h... and still running

TiTou_0-1667984524225.png

41'768 loaded... the top level folder contains 1'292 files and not all of them are LabVIEW files.
Even if I include file from vi-lib and user.lib I doubt we can reach 3'000 files.

 

Now the count is above 43k... why oh why?

I ended up killing LabVIEW (2019 sp1 by the way) and then run the mass compile from the tools menu on the folder containing the project : done in less than 4 minutes and 4 seconds.


We have two ears and one mouth so that we can listen twice as much as we speak.

Epictetus

Antoine Chalons

Message 1 of 8
(3,241 Views)

I guess the project version includes everything under Dependencies also, i.e. VI.lib and stuff, so that it's more VI's isn't strange. 10+ hours is much though. (You can speed things up by increasing the cache VI amount to ~1000)

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 2 of 8
(3,162 Views)

As far as I know we can only set this from the dialog when mass compiling from the tools menu.

Is there a way to set the cache VI amount when mass compiling the project?

 


We have two ears and one mouth so that we can listen twice as much as we speak.

Epictetus

Antoine Chalons

0 Kudos
Message 3 of 8
(3,106 Views)

@TiTou wrote:

As far as I know we can only set this from the dialog when mass compiling from the tools menu.

Is there a way to set the cache VI amount when mass compiling the project?

 


I assumed it reused that setting?

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
Message 4 of 8
(3,080 Views)

Note that the project's Mass Compiling... menu item terminates with the ellipsis but the function starts immediately 😆

Paolo
-------------------
LV 7.1, 2011, 2017, 2019, 2021
0 Kudos
Message 5 of 8
(3,072 Views)
Solution
Accepted by topic author TiTou

Project mass compile uses a different codepath within the LabVIEW C++ code than Tools > Advanced > Mass Compile.

 

I personally don't trust the project mass compile, and I exclusively use the one in the Tools menu.

Message 6 of 8
(3,043 Views)

If cheeseburger Darren doesn't trust it, then I am not trusting it any longer!  😄

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
Message 7 of 8
(3,016 Views)

@billko wrote:

If cheeseburger Darren doesn't trust it, then I am not trusting it any longer!  😄


Believe the burger! Trust the cheese! 🙂

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
Message 8 of 8
(2,948 Views)