01-10-2013 05:52 AM
I've a question.
If a look in a driver then LabVIEW recommended to "Save changes before closing?". But i did do no changings (only press a button from off, on and offf again).
The i wnat to close the driver without savings.
Then i can only slect "Save, Defer Dicision or Cancel". Press Cancel then it comes every time with this question.
Also close the VI it tells that a lot of sub.vi needs to be updated.
Is it possible to cancel without changings?
Kind Regards, Bernard Arts
Solved! Go to Solution.
01-10-2013 05:56 AM
Hi Ben,
you probably loaded some VIs from an older LabVIEW version. When doing so LabVIEW has to recompile the VIs and so presents the "file has changed" save request.
You can
- defer decision. Then that request pops up when you close the main VI (before LabVIEW tries to unload all referenced VIs from memory).
- save once. THen LabVIEW will not complain again...
- do a mass compile of the driver VIs...
01-11-2013 02:01 AM
I do not have an old VI i just made it in the same labview version.
Or if i open an instrument driver sub and i try to close (some button set on , off but nothing changed) then it request also to save it (i can't ignore or cancel).
See example 1
I open with LabVIEW2010, Blank vi, Go to Block diagram and select Instrument I/O, Agilent 34401, Initialize, open this vi, the i press ID False and again back to True. The i want to close the Initialize but then it request to save it (can't cancel).
Close LabvIEW then i can do not save all.
See example 2
Then i create a new sub vi include above initialize. If I close labview then it request to save 5 items of the driver.
How can i close it but not save and that this is not request again when open and close the sub vi?
See attached picture example.
Kind Regards, Bernard
01-11-2013 02:07 AM - edited 01-11-2013 02:09 AM
Hi Ben,
why do you attach files with proprietary formats instead of plain pictures (JPG or PNG)?
- You can look at the list of changes to see what's happening...
- You have the option to "defer" saving (as written before and as can be seen on your picture).
- As written before: when deferring you will be asked again when closing the main VI. And you will have the option to decline saving...
- Did you ever tried to click on "Don't save - All"? Is this what you're looking for?
When following your example 1 I get no saving dialog...
Why don't you want to save the requested items? Where's the problem?
01-11-2013 02:15 AM
Yes i know that i have these options but if i decline then next time i open again the same sub vi and close it, it ask again and again and again.....
Kind regards, Bernard Arts
01-11-2013 02:18 AM
Hi Ben,
it seems some "links" (file path dependencies) have changed (independently from switching a button). You have to store those new dependencies (by saving the VI) or LabVIEW will always ask you the same again and again...
What's the problem with saving those VIs?
01-11-2013 02:33 AM
There is not a problem. But i installed drivers once a few years ago and i've no reason to change the original drivers. But LabVIIEW does.
Maybee i save them once and resave them in all our systems so i don't have those questions at closing. I only want to known if it can be ignored, but it seems that it can't and that it is better to resave them.
Thanks for response.
Bernard Arts
01-11-2013 02:37 AM