LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to mass compile VI utilizing DAQmx

Solved!
Go to solution

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.)

 

DAQmx Main.png

JonathanMATech_0-1672875372159.png

 

0 Kudos
Message 1 of 6
(1,405 Views)

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

0 Kudos
Message 2 of 6
(1,311 Views)

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.

0 Kudos
Message 3 of 6
(1,302 Views)
Solution
Accepted by JonathanMATech

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.

Message 4 of 6
(1,296 Views)

Ok Thanks! Is there a CAR number or Issue number we can track into the future?

0 Kudos
Message 5 of 6
(1,291 Views)

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.

Message 6 of 6
(1,252 Views)