LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

unsaved changes

i want to know what kind of changes will appears Save changes before closing dialog box,  when you make changes to a VI and attempt to close the VI without saving,
 
can anyone list the changes that will result in "Save changes before closing" dialog box?
 
thanks in advance 
0 Kudos
Message 1 of 10
(3,623 Views)
Hi Brian,

everything besides opening (and even sometimes that is enough) will alter your VI.

Ton
Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas

LabVIEW, programming like it should be!
0 Kudos
Message 2 of 10
(3,615 Views)

what do you mean everything?

change a value of a control by clicking, seems ok, no Save changes before closing dialog

0 Kudos
Message 3 of 10
(3,608 Views)

To get a good fealing for the issue, you can always list the changes and see for yourself what changed. 😉

Most often, when you get a "save changes" dialog without actually making any modification, the VI was just upgraded from a previous version (e.g. a 8.0 VI opened in 8.01 needs to get saved in 8.0.1).

Any real editing modification to the VI will also cause the dialog, of course, but there are a few exceptions: For example moving the window to a different screen location does NOT cause a dialog, even though if you would actually save the VI after moving, the VI would open in the new location in the future.

I am not aware of any official listing.

.

0 Kudos
Message 4 of 10
(3,605 Views)


@brian005 wrote:
change a value of a control by clicking, seems ok, no Save changes before closing dialog

Tha is not an editing operation! However, changing a control value, then make the new value the default value, would be one. 😉
0 Kudos
Message 5 of 10
(3,602 Views)

if change some attributes of a control in run-time using vi server, like the size and position, then close the vi, in this case, doesnt appear the dialog.

what is the difference between run-time and edit mode?

0 Kudos
Message 6 of 10
(3,589 Views)
The VI properties Modifications will allow you to manage saving the vi when needed.

Paolo
Paolo
-------------------
LV 7.1, 2011, 2017, 2019, 2021
0 Kudos
Message 7 of 10
(3,587 Views)

thanks

can you give me an example about VI properties Modifications?

0 Kudos
Message 8 of 10
(3,577 Views)
I'm sorry, I was trying to build an example for you, but I noticed that these properties (at least the vi setup modification part) don't seem to react to changes made through vi server.
So I have probably misunderstood their purpose. Now I wonder what are they good for?

Paolo
-------------------
LV 7.1, 2011, 2017, 2019, 2021
0 Kudos
Message 9 of 10
(3,574 Views)
I believe you have to set a certain flag when you open the VI reference to indicate that you want to prompt to save unsaved changes when you use Open VI Reference. The options input allows you to set various options, such as reentrant run and the one I mentioned above by entering in numeric values.

Wire a numeric constant of value 4 into that input to prompt to save changes. For more info, see here.
Jarrod S.
National Instruments
0 Kudos
Message 10 of 10
(3,556 Views)