LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

can't run the exe

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?

 

 

0 Kudos
Message 1 of 7
(140 Views)

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

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 7
(125 Views)

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

0 Kudos
Message 3 of 7
(120 Views)

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?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 7
(97 Views)

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.

0 Kudos
Message 5 of 7
(90 Views)

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

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 6 of 7
(85 Views)

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.

0 Kudos
Message 7 of 7
(69 Views)