02-14-2013 09:13 AM
Hello,
I am using LabVIEW Full development suite to develop my appication and tried to build the exe. No error was prompted during the exe build, but when I tried to launch the exe, the following error msg was prompted.
Thanks,
02-14-2013
12:27 PM
- last edited on
08-13-2024
10:28 AM
by
Content Cleaner
See here:
https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z000000P8fXSAS&l=en-US
There are a lot of reasons why this might happen. Basically, your VI gets a "broken arrow" in the run-time system, which means it cant compile. Can you tell us more about what your application does? Does it use certain toolkits? Does it call DLLs?
02-18-2013
11:44 AM
- last edited on
08-13-2024
10:28 AM
by
Content Cleaner
Hi K.Vins,
I am an applications engineer with National Instruments. Josborne is correct, the application must be unable to compile properly. Can you run it in the development suite before you make it an executable? Sometimes, if you are using the executable on a different computer you might need to use an installer instead so that all the elements (runtime engine, toolkits etc. ) that the executable calls on are available.
https://www.ni.com/docs/en-US/bundle/labview/page/developing-and-distributing-an-application.html
We would need some more information before we can properly diagnose your issue.
Regards,
Basil-B
02-19-2013 08:16 AM
Thank you all for your responses. My application in dev environment didn't have any issue. I was reported unable to execute .exe, when I launched the exe. I found the solution and thanks to all. Lessons learned from this exercise:
1. There is a great tool in LabVIEW called VI Analyser in v8.6 under Tools, which I never used and I always wanted for LabVIEW developers to give more compilation error or warning in your code, like code review.
2. I found errors/warning in my application, for example, it used more local variables than max supported by LabVIEW. So, I made couple of subVIs and pass the parameter using cluster method.
Now it is working without any problem.
Thanks,