LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Stand Alone application crashes on startup

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

0 Kudos
Message 1 of 3
(2,558 Views)

Hi Dave,

 

it would be definitely easier if you would give more information on your program...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 3
(2,535 Views)

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 

0 Kudos
Message 3 of 3
(2,530 Views)