12-12-2018 04:21 PM
Given that LabVIEW automatically searches for sub VI in the following order:
By default, LabVIEW will look through the following locations in order (\* means LabVIEW will search through the subdirectories):
Question: How can a user exclude a subdirectory in one of these directories from the natural search?
For example: I want to exclude <topvi>\.git and <topvi>/.svn from the natural search.
How can a user set that exclusion?
I will be very grateful to anyone who can answer this question or provide any solution to this problem.
Best Regards,
John Whitcraft, CLD
12-13-2018 04:14 PM
Hi Jandy,
Thanks for reaching out. I'm guessing you don't want to search through all your sub-directories, so that you don't have to do a lot of unnecessary searching. Could you just include the sub-directories that you do want to search through?
12-13-2018 06:29 PM - edited 12-13-2018 06:32 PM
No. It’s the opposite.
I want to block labview from finding a VI in an archive area I designate. There are old versions of vis in the archive, which if loaded would cause a failure.
Is there a way of masking out subdirectories from the natural search labview does?
12-14-2018 12:46 AM
Like Mass-compile does with skipSVNFolders=true (discussed here)? I like a suggestion there, that hidden folders should be ignored, that way we don't have to care about if it is a svn or git-folder or anything else that should be ignored.
In the search directories there is e.g <topvi> and <foundvi>, which could be in a folder where there is a .svn-folder.