07-11-2017 01:16 PM
Greetings everyone!
I have the below async (sub) vi that works during the development but no longer functional after building it to exe.
I hope that someone can point me to the right direction - as this application must work. Thanks in advanced!!
Solved! Go to Solution.
07-11-2017 01:27 PM - edited 07-11-2017 01:34 PM
Read Why Do I Get Error 7 When Running My Executable Built in LabVIEW Versions 2009 and Later?
Actually, that is more about the change in file layout in a newer executable vs. old. But the key point in there is the name of the executable becomes a part of the VI file path.
Also, did you remember to include that VI has part of the build? I'm trying to find a few other links that explain this.
Here is one. http://digital.ni.com/public.nsf/allkb/FD7DE8BC8FFC256C862565F4006BE363
07-11-2017 01:29 PM
Did you include it in the build, in the Always Include subsection?
The other problem is you have a hardwired path in it. Use something like this instead.
mcduff
07-11-2017 02:39 PM
Hi!
I have missed to include the vi as part of the build.
Thank you very much!!
07-11-2017 02:44 PM
Hello mcduff!
Thanks for pointing the hardwired path, adding the subvi as part of the build and changing the reference fixes the issue..
Thanks a lot..