LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

labview foundvi archive exclusion

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):

  • <topvi>\* - the location of the top level VI
  • <foundvi> - the location of the last VI found
  • <vilib>\* - the LabVIEW vi.lib
  • <userlib>\* - user.lib
  • <instrlib>\* - instr.lib

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

0 Kudos
Message 1 of 4
(2,832 Views)

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?

Keddy C.
Staff Software Engineer
National Instruments
0 Kudos
Message 2 of 4
(2,782 Views)

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?

0 Kudos
Message 3 of 4
(2,779 Views)

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. 

Certified LabVIEW Architect
0 Kudos
Message 4 of 4
(2,770 Views)