LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
Mads

Allow us to rename folders on disk from within a project to avoid lib/class corruption

Status: New

Scenario: You have a number of classes, and they are perhaps even members of a library. Now you find out that the folder one of the classes and it's member files are stored in on disk should be renamed, or you wish to move a number of the files (as a group) to a different folder...

 

End result; LabVIEW will at best ask you where the files have gone, and then typically fail(!) to relink and get back to runnable code. At worst you end up at a dead end/nightmare, with a "class or library corrupt"-message...(editing the XML content of the class file might solve it yes...but that's not a proper solution).

 

I understand that it can be complex for LabVIEW to track the changes done externally, and/or be able to link everything back up, but it should be able to do it better than it does (not) with the guidance of the user.

 

And if that's too big a task, could we at least get the possibility of renaming folders on disk from the project explorer - and *then* get LabVIEW to automatically handle the changes correctly?

 

PS. There might be ways of doing this already without running into trouble that I'm just not aware of (hopefully!), but the suggestion still stands, as it is obviously too vulnerable and counter-intuitive as it is now...

 

 

14 Comments
_carl
Member

2020 and still looking for a "rename" option on folders.  To make matters worse, now the first time you right-click on a folder in a bigger project, LabVIEW will become unresponsive for a minute or so...

wiebe@CARYA
Knight of NI

>To make matters worse, now the first time you right-click on a folder in a bigger project, LabVIEW will become unresponsive for a minute or so...

 

What is 'a bigger project'? Can't reproduce this in my 'bigger projects'. LV responses immediately.

_carl
Member

>>To make matters worse, now the first time you right-click on a folder in a bigger >>project, LabVIEW will become unresponsive for a minute or so...

 

>What is 'a bigger project'? Can't reproduce this in my 'bigger projects'. LV responses >immediately.

 

I wasn't able to reproduce this from scratch either, so I'm not sure what the underlying cause is.  That said, the project I was working with at the time of posting is in a state where the menu takes an extremely long time to load.

wiebe@CARYA
Knight of NI

>>To make matters worse, now the first time you right-click on a folder in a bigger >>project, LabVIEW will become unresponsive for a minute or so...

 

>What is 'a bigger project'? Can't reproduce this in my 'bigger projects'. LV responses >immediately.

 

I wasn't able to reproduce this from scratch either, so I'm not sure what the underlying cause is.  That said, the project I was working with at the time of posting is in a state where the menu takes an extremely long time to load.


Guess you'd need to post it (here, or just to to NI) if you want it fixed. Not sure if it will get any attention let alone priority if you do, unless you can link it to a cause that isn't a corner case.