LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a way to tell LV to ignore the .git folder when searching for missing vi's?

Solved!
Go to solution

I'm just starting to explore source control with Source Tree, which has placed its usual .git folders in all my project folders. Now, when LabVIEW is loading a vi and is looking for missing subvi's in the project's folders, it wastes time searching in the .git folder. Is there a way to tell LabVIEW to ignore the .git folder?

0 Kudos
Message 1 of 5
(533 Views)

Based on LabVIEW roadmap, R&D is working on Git integration with LabVIEW and I believe part of that will be improvements to context aware of the .git files.

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
0 Kudos
Message 2 of 5
(520 Views)
Solution
Accepted by topic author FlatCat

Hi FlatCat,

 

This is probably because your .git folder is at the same level as your VIs.

Try putting your sources in a subfolder, similar to this:

raphschru_0-1740850201920.png

 

From NI documentation:

 

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

 

Regards,

Raphaël.

Message 3 of 5
(503 Views)

When cross-posting from reddit, make sure to include a link to the original discussion to avoid duplicate efforts.

0 Kudos
Message 4 of 5
(472 Views)

Same answer as what Raphaël gave in this thread: https://forums.ni.com/t5/LabVIEW/Is-there-a-way-to-tell-LV-to-ignore-the-git-folder-when/td-p/442686...

Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
0 Kudos
Message 5 of 5
(436 Views)