I use Labview 2015 32-bit on a 64-bit Win& pro computer. My application connects to Hardware using NI-VISA and NI-DAQmx only (Two RS232 communications via a VCOM port and one NI DIO card using DAQmx).
Until today, I was building an executable which I was copying through the network on another win7 pro machine in the lab next to the hardware. It was working fine with Labview Runtime 2015 installed on this machine along with NI-VISA and NI-DAQmx. I never used an installer, I installed those 3 components seperatly.
Yesterday I added some features to the application and the EXE won't start. I have an error msg saying "The VI is not executable. The full version of Labview is needed to fix errors". The machine in the lab can't run the EXE but the EXE won't even start on my development machine.
My previous EXE from last week still works fine.
The code works fine with all new features if I run the main VI from the development environment.
I've double check all of my licences status.
If I open another project and compile the EXE, I am able to run this EXE (I use a complex app containing almost all the same software components)
If I build an EXE with a different UI source file part of the same project, that EXE works fine.
If I build the EXE from my previous version again, it works fine too.
I tried removing all the new features I had added in the project and build the EXE again and I still get the error.
I tried creating a new project file and import the same librairies to try building an EXE from a fresh project file and I still get the error.
I tried installing Labview 2015 on another computer and try to build an exe from a fresh labview install on this computer and I get the same error. The development machine can't execute the compiled EXE)
It has to be related to the code but, I can't roll-back and get functionality of the EXE again unless I totally replace all of my files from a backup made last month. The most recent posts I read from a similar error are from 2013 and later. And the problem described is always that the EXE does not work on the deployment machine but works fine on the development machine. I must be at version 25 of this application to which I add improvements on a regular basis since almost 1 year. I am really puzzled. Is there a way to analyse or get more info about the broken EXE error? All the new features I added are using components that were already present in the project and in the main VI. The new features are important, I'd really like to use this working code with the hardware as soon as possible but I don't really want to install labview on the development machine.
Any ideas? I don't know what to try next. What would be the best information to provide / look for for the next step?
Thanks to all in advance