03-06-2025 07:29 AM - edited 03-06-2025 07:43 AM
Hello everybody,
I am using the LabVIEW Professional Development System 2024 Q1 (32-bit) on a Windows 10 PC.
I received a project as a ZIP file from another developer, which was originally created in LabVIEW 2011.
I was able to successfully open and run the project in the development environment.
However, the issue occurs after creating the executable file (exe).
Even though I can start the exe on the same machine where LabVIEW is installed, a broken arrow appears, and the following error message is displayed:
"The VI is not executable. To fix this error, the LabVIEW Full Development System is required."
I have already tried the suggested solution provided in the following link, but it did not resolve the issue:
I debugged the exe and found that all used static VIs are not correctly linked (see screenshoot).
Could you please assist me with this issue?
03-06-2025 07:43 AM
Hi Mo,
@MoHamame wrote:
I debugged the exe and found that all used static VIs are not correctly linked (see screenshoot).
Could you please assist me with this issue?
Those "static VIs" look like ordinary subVIs - and they are missing in the EXE.
You need to make sure those subVIs are added to our executable in the build process...
03-06-2025 07:49 AM - edited 03-06-2025 07:50 AM
Hello GerdW,
they are subVIs. I have not change the exe build specifications. On the Labview 2011 it works. But on the Labview 2024 it does not work.
For the subVI you don't need to include it, you need just to include Startup VI. am I right?
Best regards
03-06-2025 08:06 AM
Hi Mo,
@MoHamame wrote:
For the subVI you don't need to include it, you need just to include Startup VI. am I right?
Usually yes.
Which subVIs exactly are missing? Is this a special toolkit/module/driver?
03-06-2025 08:11 AM
all of the subVis are missing. I have included one of the missing subVI in the exe build specification under "Always Included". it's still missing.
most of subVis are normal toolkit from labview libraries.
03-06-2025 08:13 AM - edited 03-06-2025 08:14 AM
Hi Mo,
@MoHamame wrote:
all of the subVis are missing. I have included one of the missing subVI in the exe build specification under "Always Included". it's still missing.
most of subVis are normal toolkit from labview libraries.
I guess at this point you should provide code and project file to allow us for more detailed problem analysis...
(I would prefer the LV2011 version of the code.)
03-06-2025 08:45 AM
I can't offer anything but Clean the Compiled Object Cache and try Mass Compiling the project.
I have had similar experiences with 2024 versions of LabVIEW. Once the "Trim Whitespace" vi was not included in the EXE. New versions seem to be buggy unfortunately. I wish I had a better answer.