LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to make labview give out a warning if you try to close it when it's still running?

I am using Labview 7.0. It seems that when I try to close a running program, it just closes without any warning. I was wondering if there is any way to adjust it so that a warning could pop up to avoid accidentally closing? Thank you.
0 Kudos
Message 1 of 5
(3,133 Views)
Hi,

Maybe you could just disable the possibility to close the running program by removing the "close box"

On the main VI window, go to VI properties (by right-clicking on the VI icon (top-right corner)) > window appearence > customize
There you can set many things 😉



Message Edité par TiTou le 12-06-2006 04:38 PM


We have two ears and one mouth so that we can listen twice as much as we speak.

Epictetus

Antoine Chalons

Message 2 of 5
(3,131 Views)

There is the panel close event that will let you catch the close.

Ben

Message Edited by Ben on 12-06-2006 09:44 AM

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Message 3 of 5
(3,124 Views)
I think that's the best way but you can also trap and discard it by using an event structure. The shipping example called Event Conditional Stop does this.
Message 4 of 5
(3,119 Views)
Thank you guys, that helps a lot!
0 Kudos
Message 5 of 5
(3,116 Views)