>Hamid Shojaei wrote: >I set a password for my VI. Now I want to see it's block diagram but I can't. >How can I cancle it's protection?...
Unfortunately you can't. But (hopefully) the best thing about this, is that now that you know, you probably won't do this again. There is no substitute for experience. (except maybe someone else's experience and this forum ;-> Perhaps you can establish a method of protecting these based on the File Name. I modified a Labview VI that I found in the wild to programmatically password protect all sub VI's of some Main VI, based on the vi's name. For example use a constant prefix followed by the 1st, 3rd, and 5th letters in the title of the VI. This is not what I did, but I think, you get the picture. This way you would only need to look at the title bar to recall the Password AND all VI's are different, because if you use a common password, once you unlock one, the password cache gets updated and any VI's protected with that common PW are also unlocked. (at least in LV6.1 and previously) Obviously, this is not the most secure method, but as was already stated, the only positively secure method is to use "save as..." and save without the block diagram. Caution here though also, once you do this you can never recover the block diagram either, although you should also save the backup original with the diagram to a different secure location. HTH Rick M.
