Jump to content

Close VI without 'Save Dialog'


Recommended Posts

Is it possible to get rid of the 'save VI' dialog that pops up when you close a VI that has been changed.

Let me explain. I have created a multi page application using templates but when you try to close a page the 'Save VI' dialog pops up because the instance of the template hasn't been saved yet.

I could programmatically save the VI in a temp directory but I was wondering if there is a better way of doing it.

Link to post
Is it possible to get rid of the 'save VI' dialog that pops up when you close a VI that has been changed.

Let me explain. I have created a multi page application using templates but when you try to close a page the 'Save VI' dialog pops up because the instance of the template hasn't been saved yet.

I could programmatically save the VI in a temp directory but I was wondering if there is a better way of doing it.

5034[/snapback]

Hi Simon,

Well, as far as I know, there are two way you can use template(s) to create an instance. First is you double click on the template and second is to use the VI-Server to programmatically create an instance. In your case, looks like you are using the first method you would have to deal with the popups. If you were to use the VI-Server you would want the template VI to be able to break the loop before when your top level handler execution is stopped (or exits). This way you would never see an popup to save the vi's. This is just my experience. Hope this help.

:)

Best Regards,

Iqbal

Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.