LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Should not the password removed VI ask for unsaved changes to be saved or not?

Hi All,
 
This is in continuation with the below thread where Andre provided the password for his VI. I saved it with the option "Remove passwords", and afetrwards it did not prompt me for unsaved changes. Is it normal behaviour?
 
Shouldn't the password removed VI ask for unsaved changes to be saved or not, although we do it from the File -->> Save with Options... ?
 
IMO, it is an unsaved change, similar to the opening of a New VI, saving it in some name & do some coding & trying to close it; it asks for the unsaved changes to be saved or not...
 
The VI & the Password are here.
- Partha ( CLD until Oct 2027 🙂 )
0 Kudos
Message 1 of 6
(3,093 Views)
I don't understand what the confusion is. You did a save and that save removed the password. Why would you need to do another save?
Message 2 of 6
(3,085 Views)

What LabVIEW version are you using. If I change the properties to "unlocked", this fact shows up on the changes and it asks to be saved.


@parthabe wrote:
I saved it with the option "Remove passwords", and afetrwards it did not prompt me for unsaved changes. Is it normal behaviour?

Sounds normal. Once you save it with removed passwords, it is already saved so there are no more unsaved changes unless you later do something else.

Message 3 of 6
(3,084 Views)
I m using 7.1.

@altenbach wrote:

 If I change the properties to "unlocked", this fact shows up on the changes and it asks to be saved.

Sounds normal. Once you save it with removed passwords, it is already saved so there are no more unsaved changes unless you later do something else.



I stress the first point, where even after you Unlock & tell OK, it asks for the saving of Unsaved Changes; but why is it NOT SO when we do the same thing thro' the File -->> Save with Options... & tell Remove Password & give the original password for cross-check. There is a Save button in the Save with Options dialog, similar to the OK button in the VI Properties dialog; but the latter asks for Unsaved Changes to be saved, while the former does not.

Is this so even in 8.x or I m confusing again? Smiley Happy

- Partha ( CLD until Oct 2027 🙂 )
0 Kudos
Message 4 of 6
(3,076 Views)
8+ no longer has the "save with options" dialog. Still, what you are describing seems the rational and expected way things should work.
  • If you change some VI properties, and later try to close the VI, it will thell you that the VI has changes and give you the option to save the changes.
  • If you try to save a VI without passwords, the system can assume that you want to save the changes (why else would you use the "save" menu in the first place! ;)), so it no longer need to ask.

Message Edited by altenbach on 10-29-2007 11:01 PM

Message 5 of 6
(3,075 Views)

Thank you very much, Altenbach!

Now I learnt some more UI design thoughts & meanings. Smiley Happy

I didnt really 'see' the word Save until you pointed me out.

- Partha ( CLD until Oct 2027 🙂 )
0 Kudos
Message 6 of 6
(3,066 Views)