LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LV Application closes, no error, exe file is deleted

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?

0 Kudos
Message 1 of 5
(2,069 Views)

I never heard that before. It sounds more like an anti-virus software putting the application into detention....

Please check that.

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 2 of 5
(2,057 Views)

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

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 3 of 5
(2,056 Views)

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

0 Kudos
Message 4 of 5
(2,037 Views)

@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

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 5 of 5
(2,029 Views)