LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error when building exe

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,

 

VI is not executable.JPG

0 Kudos
Message 1 of 4
(2,819 Views)

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?

http://www.medicollector.com
0 Kudos
Message 2 of 4
(2,799 Views)

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/en/support/documentation/supplemental/19/introduction-to-the-labview-application-...

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

Regards,
Basil
Applications Engineering
National Instruments
0 Kudos
Message 3 of 4
(2,779 Views)

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,

0 Kudos
Message 4 of 4
(2,762 Views)