10-07-2009 03:59 PM
I'm new to projects so bear with me. I enjoy being able to rename, drag and drop, and delete VIs through the project window if I'm in the files tab, but why can't I do this for folders too? If I right-click a folder, I get no options to rename it or delete it. I also don't see any way to create a folder.
So far, I've just been right clicking folders and then going to explore, creating/deleting/renaming folders as needed, and then closing out the explorer window. Is there a better way?
Mike
10-08-2009 01:03 AM
Hi Mike,
please be warned that the folders inside a project are not the same as folders on a HardDrive.
They are ment to manage your project and not your harddrive.
In LabVIEW 8.6 (or 8.5) the Auto Populating folder arrived to automatically represent the contents of a harddrive in a project. I am not sure if you can rename a folder inside an auto populating folder.
Ton
10-08-2009 11:19 AM
I am using auto populating folders. I just add 1 auto populating folder per project, and all my other folders are inside that folder. I keep everything organized on the hard disk, which is why I'd like to be able to manipulate hard disk folders through the project without having to open windows explorer, just as I can manipulate VIs through the project. Does that make sense?
10-11-2009 09:23 PM
Hi,
I understand that you would like to be able to rename folders and files (not VIs) within those folders from the Project Explorer window. Go ahead and make a Product Suggestion to suggested that renaming folders from the Project Explorer be added as a feature to LabVIEW
11-14-2013 06:24 AM
Classes an libraries seems to have a very rigid and complex tie to the structure on disk. If you e.g. want to rename a folder that contains a class and it's members - you seem bound to run into problems as it will invalidate all kinds of links not just within projects that use the class, but within the class itself if you open it directly (perhaps also influenced by whether it is friends with other classes). And when this happens you typically end up with a corrupt class error that is impossible to get out of, no matter how you try to correct it's incorrect paths by pointing it to the right ones...(which LV then refuses to recognise as the same as the original even though only the location on disk has changed)...
I can understand that it might be complex for LabVIEW to track changes that you do in a file explorer (Windows Explorer in my case), but a) it should still be able to get back on track with the help of the user, and b) there should be a way to do the renaming/move operations from within the project explorer - to enable LabVIEW to automatically adjust to the changes.
Putting classes into a library makes this problem even worse; I run into isses with the smallest on-disk changes if I do that, and then all objects lose track of themselves and it becomes a nightmare that takes forever to fix, sometimes it's not even possible and you have to recreate the classes...only to run into the same issue again later on.