qmicron Posted February 9, 2006 Report Share Posted February 9, 2006 I use VI template for reentrant execution. When a template VI is loaded, it creates a copy of itself in memory. When attempt I close loaded copy of vit file over clicking on right-top corner X appears Save changes dialog box. Is it possible to close running Vi without Save changes dialog box? Thanks Quote Link to comment
B Chavez Posted February 9, 2006 Report Share Posted February 9, 2006 I've done this by using an event structure to trigger on a "Panel Close?" (notice the "?") event and set the "Discard?" input to true. This allows you to stop the VI programmatically when the close button is clicked. I also use the attached piece of code to allow an instance of a template VI to close itself without the "Save Changes" dialog. Hope this helps. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.