Renaming Auto-Populating Folders

Updated Aug 21, 2019

Reported In

Software

  • LabVIEW 2017 Professional
  • LabVIEW

Issue Details

I need to rename one of my auto-populating folders. There is no rename option in the LabVIEW project, so I am changing the name in Windows. When I do that, I get conflicts in my project. Is there an easier way to change the name of the directory?

Solution

Currently there isn't a method to directly rename the auto populating folder without breaking the dependencies within the file path. However, there are a couple of methods you could take to workaround this issue.

The First Method uses the following steps:
  • Create a new folder with the name you need.
  • Stop auto populating the original file folder before moving it to a new folder with the correct name.
  • Add either the file that houses the dependent files (Folder 2) or the VI's from within that folder and add them directly to the new file.




After following this procedure, you could then convert the folder back to an auto populating folder.

The Second Method you could try uses the following steps:
  1. Rename the folder on disk.
  2. Save the LabVIEW project. Note that this will cause the conflicts to show up.
  3. Exit out of the project.
  4. Reopen the project. The folder should no longer be auto-populating.
  5. Right-click on the folder and click Convert to Auto-populating.
The project should now have the folder with the new name without any conflicts.

Additional Information

If you have already created an executable from this project, you may need to recreate the build specifications as the naming and hierarchy of the folders has effectively changed.