01-04-2023 05:38 PM
I have a LV project with a single VI containing a basic example of using DAQmx to read from a single channel at 1000 Hz. When I try to mass compile the project I get this error.
I'm using LabVIEW 2022 Q3 and Windows 11.
(Yes I just realized there's not error handling but that's beside the point.)
Solved! Go to Solution.
01-09-2023 11:20 AM
Hi Jonathan,
Based on your screenshot, it looks like you're mass compiling by right-clicking the top-level project item in the project window and selecting Mass Compile. Is that true? If so, can you try doing Tools > Mass Compile and selecting your project folder, and seeing if the permission issue still occurs? I want to see if both mass compile approaches yield the same behavior.
Thanks,
-D
01-09-2023 11:46 AM - edited 01-09-2023 11:47 AM
Yes, that is true. I was right clicking the top level project item and selecting mass compile.
When I do it as you suggested with Tools -> Advanced -> Mass Compile there are no errors.
Why the difference? I'm about to upgrade a large project and want to make sure everything is working optimally with the new version of Windows and LV.
01-09-2023 11:58 AM
I have never trusted mass compile from the project... it uses a different code path within LabVIEW than the one in the Tools menu.
Going forward, I suggest sticking to the Tools menu one, that's what I do. That being said, I have made LabVIEW R&D aware of the issue you discovered.
01-09-2023 12:04 PM
Ok Thanks! Is there a CAR number or Issue number we can track into the future?
01-10-2023 09:51 AM
There is not a Bug number (CAR was replaced with AzDo Bugs several years ago).
However, LabVIEW R&D has indicated to me that this issue was fixed as part of another change that went in recently. So barring catastrophe, the issue you've reported in this thread with project Mass Compile should be fixed in LabVIEW 2023 Q1.