11-09-2022 02:52 AM - edited 11-09-2022 03:24 AM
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?
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
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
Solved! Go to Solution.
11-09-2022 10:23 AM
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)
11-10-2022 04:49 AM
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
11-10-2022 08:26 AM
@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?
11-10-2022 08:50 AM
Note that the project's Mass Compiling... menu item terminates with the ellipsis but the function starts immediately 😆
11-10-2022 11:23 AM
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.
11-10-2022 01:56 PM - edited 11-10-2022 01:56 PM
If cheeseburger Darren doesn't trust it, then I am not trusting it any longer! 😄
11-11-2022 06:49 AM
@billko wrote:
If cheeseburger Darren doesn't trust it, then I am not trusting it any longer! 😄
Believe the burger! Trust the cheese! 🙂