LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Can I Batch Rename all files in a Project?

I have a rather large scale LabVIEW project that I would like to use as the basis for another similar project, so I just made a copy of the entire project directory. In order to avoid conflicts when switching from one project to another, I would like to rename all the files in the new project directory. I know I can rename the files individually within the project, and LabVIEW will automatically update all dependencies--but is there any way to rename ALL (or at least multiple) files from within the project? Or is there any other way that I can rename a large number of files that will update the dependencies and avoid file conflicts. For simplicity, I would probably just append a prefix/suffix to each filename.
 
Thank you for your help and suggestions.
 
--Phil Lundeen
CLAD


Message Edited by TurboPhil on 07-23-2008 09:08 AM
0 Kudos
Message 1 of 4
(3,809 Views)

You can write your own VI to do just that.  It is not that difficult to do. 

A suggestion is to have parameters that allow you to change the VI names, select groups of folders and populate the project file.

I seem to recall that they have an example of such a program when you take the advanced LV course (architect 1).

R



Message Edited by JoeLabView on 07-23-2008 11:18 AM
0 Kudos
Message 2 of 4
(3,790 Views)

I wrote a cloner VI just before NI release LV 8.5 where they adde the ability to add a prefix when you do a Source Distribution. Try that.

Ben



Message Edited by Ben on 07-23-2008 11:47 AM
Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Message 3 of 4
(3,778 Views)
Thanks Ben,
I didn't know about that one.. 🙂

R
0 Kudos
Message 4 of 4
(3,774 Views)