05-19-2009 02:46 PM
Hi all,
I had built an application in LV 7.1 and has been running fine. On a new computer, I decided to upgrade the app to LV8.6.1. Built and created a new stand-alone app. No complaints. After running for a couple of times, now the stand-alone app crashes everytime on startup. BUT, if I first launch LV8.6.1 and don't open any project or vi, just let the "Getting Started" menu screen sit there, and THEN double-click on my stand-alone app .exe file, it runs. No crash. If I exit LV at this point, my app continues to run without any problem.
I'll appreciate any pointers on this.
Thanks
Dave
05-19-2009 05:59 PM
05-19-2009 06:31 PM
Hi Gerd,
Thanks for replying. It is a machine control program. It consists of a Top Level program which has a bunch of logic control and there are several components that it controls. Couple of serial link devices, an ethernet device and a camera for image capture. Developed in LV7, the .exe file was working fine. I am now porting the program for a second machine. The only change are a few hardcoded tuning numbers (could have had them in a ini file to begin with, so I could have left the code untouched, but thats wisdom in hindsight!).
Anyways, with the changes made to few files in LV8, the top level VI runs fine when run from LV environment.
On this new computer with LV8 installed, the original LV7 .exe app runs fine
The newly built Ver8 app crashes on startup when trying to run standalone
The new standalone app would run fine, if LV is launched first and then I start the standalone .exe file.
I am a bit puzzled as to where to start debugging.
Thanks in advance
Dave