04-25-2023 02:35 AM
Hi,
I just created a quite simple VI, reading some string values from a ini file and writing those into a motor driver. Everything works fine in the 2018 development system and the exe i created works on several deployment machines. But the exe does not work on the development machine it was made on! Error message is: The VI is not executable. The LabView Full Development System is needed.
I checked the .net run time installations, cause i found someone mention that, but the newest versions are already installed.
Does anyone have an idea?
Thanks
04-25-2023 07:57 AM
If you are using the .exe on the same development machine, the machine will still have development environment and same version as exe version, make sure no dependencies are missing.
Its always better to use installer with dependencies so that it wont create any issue.
Also share the Error Message with Error code for better understanding of the issue
04-25-2023 08:47 AM
There is no Error Code. When i start the exe the VI Window opens with a broken arrow. When i click on the arrow the attached popup window opens with the message that the vi is not executable and for error fixing the full development system is required.
How can i see the dependencies? To start the VI on another PC i just need the 3files created with the exe (.exe, .aliases, .ini) beside the RTE and the Visa installation of course.
Thanks
04-25-2023 09:04 AM
@cetylop0610 wrote:
There is no Error Code. When i start the exe the VI Window opens with a broken arrow. When i click on the arrow the attached popup window opens with the message that the vi is not executable and for error fixing the full development system is required.
How can i see the dependencies? To start the VI on another PC i just need the 3files created with the exe (.exe, .aliases, .ini) beside the RTE and the Visa installation of course.
Thanks
It's not the recommended way to use an application in multiple PC just placing an exe, always prepare to use installer instead. In this case you wont miss anything and maintaining the version is also easy.
Your VI may be in broken state, Attach the VI if you have source code to check whether its opening without Broken arrow.
04-26-2023 02:48 AM
Hallo,
my VI does not have a problem. I repeat: it works fine in my 2018 development system, and it works fine as exe an other PCs.
But it does not work as exe on my development PC!
But i think i have to solve that problem by myself, since no one knows the settings and installations on my PC.
Thanks anyway!
04-26-2023 03:07 AM
Rebuild it with Debug enabled and you might be able to trace it down. I've never heard of it not working on the development computer. 🙂
04-26-2023 03:11 AM
Already tried that. But because the VI doesn't start at all there's nothing to debug!
04-26-2023 03:26 AM
Maybe for some strange reason you do not have the Runtime installed on your Development machine ?
04-26-2023 03:29 AM
I have!
04-26-2023 03:33 AM
@cetylop0610 wrote:
Already tried that. But because the VI doesn't start at all there's nothing to debug!
Check the NI License manager in both the PC's one which is working fine and the other which is having issue.
you can identify the difference if any issue due to software's.