LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Execution stay in memory after exit

Solved!
Go to solution

Hello everyone,

 

I've the program to do the following at the end of execution:

Snap1.png

using the developer's suite I have no problem by exit, the program exit perfectly without staying in memory list.

After I build an exe and do the same to exit the exe program disappears from the task bar, however stays in the list of task management (Ctrl+Alt+Del).

 

In my program there's Network Streaming, CAN bus, and RS232. 

How to exit the program completely without letting it stay in the memory?

 

Wilbur

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

Can you explain the logic behind your code, maybe attach a small code example?

What is in the other cases of the case structure?

0 Kudos
Message 2 of 8
(3,430 Views)

(sorry duplicated post)

0 Kudos
Message 3 of 8
(3,429 Views)

You reopen a referrence and then crash/Exit LV if in development mode? I take it the Exit doesn't exist in Run time case - thus leaving a referrence alive.

Basically everything after FP.close and Close ref shouldn't be needed.

Personally i often use App.kind to not close FP when in development mode.

 

/Y

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 4 of 8
(3,410 Views)

Hi, 

 

here is a dummy code from the whole project. I've constructed the as many different subVIs and at the end the error handle part.

And the "Dummy.vi" is in the same position of my main.vi, which is the caller of the "Simple error saver.vi".

Snap1.png

 

I've tested that the code run till the "Simple error saver.vi" but it doesn't exit from memory.

By the way, I've used the dynamic call VI to catch the .net event in my program!

 

Wilbur

 

 

0 Kudos
Message 5 of 8
(3,408 Views)

Hi Y,

 

I've disabled the rest things after FP.close but it appears the same.

 

Wilbur

0 Kudos
Message 6 of 8
(3,405 Views)
Solution
Accepted by topic author wilburwu

Hi,

 

it seems that it is a known Bug in LV2010...

 

Netwok streams in executable

 

Thx,

Wilbur

0 Kudos
Message 7 of 8
(3,375 Views)

We learn something every day, i didn't know about that. 🙂

 

/Y

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 8 of 8
(3,367 Views)