LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

What happens with EXE2 if EXE1 crashes?

Solved!
Go to solution

Hi Community,

 

 

Yeah, thats a way to generic subject. I am running two EXEs both compiled from LabVIEW. I am wondering what happens with EXE-2 if EXE-1 crashes. Will it continue to run or will it crashes as well. The crash of EXE1 does not cause an entire OS crash, it just shows the crash dialog.

 

I can speculate as well, please respond only if you know the answer for sure.

 

thanks!

0 Kudos
Message 1 of 4
(3,168 Views)

Are there any dependencies between the applications like TCP connection, ActiveX, drivers, ...?

 

If not, the second EXE should resume without issue as the RTE should run for each instance separatly. However, i haven't make a test on this, so it is more an assumption.

 

Norbert

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

No dependencies. But as I said... I can speculate as well.

0 Kudos
Message 3 of 4
(3,158 Views)
Solution
Accepted by 1984

Each executable runs in it's own application instance - so one of them crashing won't cause the other to crash *unless* it depends on a shared resource or a shared NI component - like for example if your program crashes because they both use shared variables and the shared variable engine crashes, then you'll have a problem.

 

We often run two or three applications in tandem - the only time we had a problem was when there was a problem with .NET that caused both to crash.


LabVIEW Champion, CLA, CLED, CTD
(blog)
0 Kudos
Message 4 of 4
(3,140 Views)