06-13-2014 02:47 PM
Using the LabVIEW project explorer, if I go to the "Files" tab and select "Expand All" is there a way to capture the information shown other than a bunch of screen shots? I'd like to get a listing of all the files used by the project along with the locations where they are stored.
06-13-2014 02:56 PM - edited 06-13-2014 02:58 PM
Or you could just open the *lvproj file with any text editor or web browser
06-13-2014 02:56 PM
At least in LV2013, under Project/File Information, you can export all the filepaths as a text file.
-AK2DM
06-13-2014 02:59 PM
Project Explorer Menu
Click on
Project \ File Information
Then you can export file paths
06-13-2014 03:40 PM
Jeff had the best solution though I had to tweak his code a bit to actually get a list of all the files.
I could get something like this to work for me. Thank you.
As for the other two suggestions to use the export-filepaths option, that does not work for me. It only exports the top-level file/VI names along with the project name (in the case of the project of interest, only four files are listed, when I'm expecting to instead see close to 500).
06-13-2014 04:58 PM
06-13-2014 05:10 PM
@JÞB wrote:
And opening that lvproj in ie?
looks really ugly!
Nothing but line after line of run-on ASCII text and while there are file paths buried in there, there is at least as much other stuff that are not paths.
06-13-2014 05:26 PM
06-13-2014 05:51 PM
I had tried a copy of the file with both .htm and .html extensions and it was quite ugly when opened. A .txt file extension looked a bit better but there were still large areas of run-on text. Changing the extension to .xml brings more order to it but that only puts lipstick on the pig. It's still ugly.
I really do like the first answer. I've already got a working VI that presents a list of all open projects and when one is selected it goes through an generates an array of all files used. Duplicates are removed from the array and it's all ordered/sorted by path. I can then browse through the array list or cause it to be written to a text file.
06-13-2014 06:09 PM