LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Determine which files are used by which projects

Good Morning,

 

is there an easy way to determine which header-, source, .uir files are used in which projects? I have multiple projects using a shared codebase. I would like to see which projects would be effectetd if I make changes.

 

My current solution is opening the project files but that is fairly prone to errors and takes a lot of time.

 

Thanks!

0 Kudos
Message 1 of 3
(4,204 Views)

Hi,

 

I don't know of any built in CVI functionality to do this. There is a handy utility called Dependency Walker for doing pretty much the opposite of what you want, but I don't think there is any kind of "where used" functionality. I suspect this would be a good use case for some kind of source code control. Alternatively, you could just manually track your files in a database.

https://www.linkedin.com/in/trentweaver
0 Kudos
Message 2 of 3
(4,182 Views)

Thanks WireWeaver!

 

I have used Dependency Walker, but in this case I ended up doing something else. Since the project files are basically text files, I opened alle relevant project files with a text editor, copied one after each other to an excel spreadsheet, performed some Excel magic to get rid of all the directory crap and used a pivot table to check which files where used in multiple places. Probably not the most elegant way, but it worked for me and I was able to find all shared files between the projects.

 

Thanks again and have a good one,

 

ZerMahlMeer

0 Kudos
Message 3 of 3
(4,041 Views)