LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Executable suddenly stops working. Have to rebuild to run again

I am running into this issue with a program. The executable will build fine and the application will run ok for awhile. Then it will stop responding. Restarting doesn't help and we are sure that there is nothing stopping it from executing. So, we are having to go back in and rebuild the application to get it to run again. It works fine while in development.

 

We have tried building a fresh executable instead of rebuilding.

I must be missing something or there is a file going corrupt, but I am not sure.

 

We are running LabVIEW 2015

Windows 10

Not sure on the hardware as this machine is in Mexico and I am in the US.

 

Thanks!

 

0 Kudos
Message 1 of 8
(1,095 Views)

LV 2015 SP1 seems to be the earliest version of LV to be officially supported on Win10.  That being said, that's probably not the issue; however, I don't recall seeing an issue like you described before where you have to rebuild it to work again.

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 2 of 8
(1,056 Views)

Sounds more like a hardware problem. Maybe they should scan the HD for errors, for example. Maybe it runs out of disk space or memory? Maybe there is malware?

 

How long does it take to fail? random? minutes? hours? days? months?

Are you talking about restarting the program or restarting the computer? Maybe a driver hangs?

 

What does the program do? Does it keep e.g. state in an ini file or similar that corrupts due to a programming error?

0 Kudos
Message 3 of 8
(1,050 Views)

Good idea. I will have them check the hard drive to make sure it is corrupted somehow. Now that you bring that up, one of the first steps in troubleshooting they do is re image the computer. Maybe this has something to do with it.

 

As far as how often this issue happens, it is very random. When it does happen it is when the tester has been sitting for a little bit (1-2 days)

 

The program just test a part. At the first opening of the exe we initialize some stuff such as valves and bring in specs for the last part number tested. I do know that it seems like it isnt initializing whenever it does freeze up. Like maybe it isn't talking to the DAQ?

0 Kudos
Message 4 of 8
(1,031 Views)

Is the DAQ a USB based one? If so, try disabling power savings for USB devices in Windows.

 

-AK2DM

~~~~~~~~~~~~~~~~~~~~~~~~~~
"It’s the questions that drive us.”
~~~~~~~~~~~~~~~~~~~~~~~~~~
0 Kudos
Message 5 of 8
(1,010 Views)

@AnalogKid2DigitalMan wrote:

Is the DAQ a USB based one? If so, try disabling power savings for USB devices in Windows.


I would go a step further in getting an industrial grade externally powered USB hub.  Especially with laptops, I have found that the built-in USB hubs often cannot handle the current draw for one reason or another.  A good externally powered USB hub will fix that issue.  I am personally a fan of StarTech, with a lot of success with ST7300USBME 7-port hub.  Depending on what else is connected, the OP may also get away with ST4200USBM for about half the price.  Note that you will need an external power supply to get the full benefit (12V-24V works well).


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 6 of 8
(992 Views)

Good idea. I am having the crew down there do this and see if this helps.

 

The HDD is fine and it has enough space (200gb+) available, so this is not the problem. 

 

I'll comment back on this if there is an improvement by doing this.

 

Thanks!

 

 

0 Kudos
Message 7 of 8
(928 Views)

Just replying back. I have not heard anything back from our team in Mexico. So I am unsure if this problem has been resolved. I will reply back when I hear something back.

 

Thanks!

0 Kudos
Message 8 of 8
(825 Views)