ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

reference on close button

hi @ all!
is there a way to get a reference on the close button on the upper right of the window title?
0 Kudos
Message 1 of 6
(3,198 Views)
i am not sure about reference but you can choose the way VI looks while generating the Executbales.
0 Kudos
Message 2 of 6
(3,192 Views)
Hi

Why do you need the reference?

Thomas
Using LV8.0
--------------------------------------------------------------------
Don't be afraid to rate a good answer... 😉
--------------------------------------------------------------------
0 Kudos
Message 3 of 6
(3,186 Views)
If you wish to use the [X] button to stop and close VI, take a look at the attached VI 🙂

Cheers!
Ian F
Since LabVIEW 5.1... 7.1.1... 2009, 2010, 2014
依恩与LabVIEW
LVVILIB.blogspot.com
0 Kudos
Message 4 of 6
(3,183 Views)
@becktho: i need this because if i close my subvi with this button the mainvi doesn´t go on with running.
0 Kudos
Message 5 of 6
(3,175 Views)
If you click it in a sub-vi, it just closes the front-panel but does not stop execution of the subvi.

I have to possibilities you could try:

1. Disable the button and create a button to stop the vi
2. Use the event-structure to react on the button-click and stop the vi

Thomas
Using LV8.0
--------------------------------------------------------------------
Don't be afraid to rate a good answer... 😉
--------------------------------------------------------------------
Message 6 of 6
(3,171 Views)