06-03-2019 09:34 AM
I am running an LV 2014 application that logs data every 2 hours.
This application shutdown randomly (or it seems), without generating an error.
On top of this, the actual .exe file of the application is deleted from computer's hard drive.
I can recompile the .exe file and the application will run without error until the next random shutdown.
Also, when I run the application non-compiled, there are no issues.
I am suspecting it has something to do with Windows updates, but I cannot disable those.
Has anyone encountered this issue?
06-03-2019 09:44 AM
I never heard that before. It sounds more like an anti-virus software putting the application into detention....
Please check that.
06-03-2019 09:45 AM
Check your Windows System logs for a clue.
Monitor your memory to see if it is climbing while the application is running.
Virus checking could be a culprit as well.
Then again, if you have a bogus path used in your built VI is could be stomping on itself.
Just throwing out reactions to your Q.
Ben
06-03-2019 10:40 AM
Thanks for the answers. I will look into the anti-virus idea.
What do you mean by "bogus path"? I'm not familiar with this concept.
Damien
06-03-2019 10:53 AM
@Mentana-MTL wrote:
Thanks for the answers. I will look into the anti-virus idea.
What do you mean by "bogus path"? I'm not familiar with this concept.
Damien
In theory a VI could delete itself so if your could deletes a file and the path is defaulting to the path of your exe...
Ben