LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LV 8.5 browse dialog locks folder

Solved!
Go to solution
I've found a very irritating bug I think introduced with LabVIEW 8.5. On both my dev's machine (windows XP, one Dutch one English) if I've browsed to a file (like open LabVIEW file), there's a lock on the folder last viewed.
This prevents me from deleting this folder at any given time until browsing to a new folder or ending LabVIEW.

I'm not sure this is a LabVIEW or Windows bug but I've never noticed it with different programs.

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!
Message 1 of 7
(3,724 Views)
Hi Ton,
 
I've reproduced the issue. Since you can resolve it by browsing to a different folder or closing LabVIEW. The lock is clearly owned by LabVIEW so I've reported this to R&D under CAR 4EN26Q7U to look into it.
 
Thanks
Karsten

Message Edited by KvZ on 10-24-2007 10:33 AM

Message 2 of 7
(3,707 Views)

IMO, whatever LV has been doing all these years, allowing to delete the VI when it is open or the folder itself containing that VI, IS absolutely wrong, because no other software/application DOES NOT allow the user to delete the file or its folder which is open already. Smiley Happy

Maybe you can try it out with MS Word or Adobe PDF files. Smiley Wink

All I can that LV is, now only LV has gotten into the groove alike many other applications in NOT allowing the folder [from which something is open] to be deleted. But still I noticed one point from Ton's post.

It still deletes the VI which is inside the folder, but only the folder does not get deleted. Smiley Surprised

And after navigating to some other folder, it also gets deleted.

Mind you, all these things happen only when the File Open menu option is used. If you had manually opened the VI from the folder for yourself, then the folder also gets deleted. Smiley Happy

- Partha ( CLD until Oct 2024 🙂 )
0 Kudos
Message 3 of 7
(3,694 Views)
Solution
Accepted by topic author TCPlomp

Hi Ton,

I found that I posted the wrong CAR ID for this bug, It's been reported under CAR ID: 4EN2FI7U

Thanks

Karsten

This was reported to R&D (# 4EN2FI7U) for further investigation.

0 Kudos
Message 4 of 7
(3,622 Views)


parthabe wrote:

IMO, whatever LV has been doing all these years, allowing to delete the VI when it is open or the folder itself containing that VI, IS absolutely wrong, because no other software/application DOES NOT allow the user to delete the file or its folder which is open already. Smiley Happy


I'm not sure what you are trying to say. "No other software does NOT allow to delete a file or folder" does sound to me literally that EVERY other software does allow to do that. As far as the file dialog is concerned it is simply a Windows dialog and in there you can delete, create, rename, etc. files and folders as much as you want, both in MS Office, LabVIEW and just about any other application I can remember.
 
As to if files that are opened in LabVIEW should be deleteable from outside LabVIEW, there is a distinction between files that LabVIEW opens itself and those that are opened by LabVIEW because you programmed it so in a diagram. The first are usually locked the second are locked depending on the deny access flag that you pass to the Open File function.
 
Rolf Kalbermatter
Rolf Kalbermatter
My Blog
0 Kudos
Message 5 of 7
(3,610 Views)

"No other software does NOT allow to delete a file or folder"

IE6 will sometimes lock a folder after down-loading a file.

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 6 of 7
(3,602 Views)


rolfk wrote:


parthabe wrote:

IMO, whatever LV has been doing all these years, allowing to delete the VI when it is open or the folder itself containing that VI, IS absolutely wrong, because no other software/application DOES NOT allow the user to delete the file or its folder which is open already. Smiley Happy


I'm not sure what you are trying to say. "No other software does NOT allow to delete a file or folder" does sound to me literally that EVERY other software does allow to do that. As far as the file dialog is concerned it is simply a Windows dialog and in there you can delete, create, rename, etc. files and folders as much as you want, both in MS Office, LabVIEW and just about any other application I can remember.
 
As to if files that are opened in LabVIEW should be deleteable from outside LabVIEW, there is a distinction between files that LabVIEW opens itself and those that are opened by LabVIEW because you programmed it so in a diagram. The first are usually locked the second are locked depending on the deny access flag that you pass to the Open File function.
 
Rolf Kalbermatter



Hi Rolf,

The moment I typed, I knew I had mistyped it. Smiley Happy

What I meant to say was, if you open a word file by double-clicking it, MS word does not allow you to delete it or the folder that contains it, till the point you close that file. I think I m right. Smiley Wink

- Partha ( CLD until Oct 2024 🙂 )
0 Kudos
Message 7 of 7
(3,583 Views)