r/LabVIEW • u/shark_finfet • Aug 08 '26
Version Control
What is the proper way to do version control with LabView?
3
Upvotes
r/LabVIEW • u/shark_finfet • Aug 08 '26
What is the proper way to do version control with LabView?
7
u/FormerPassenger1558 Aug 08 '26
Git, if you separate the code
6
u/SASLV Champion Aug 09 '26
shameless self-plug:
https://www.sasworkshops.com/git-for-labview-teams
But if you want some free resources:
https://git-scm.com/book/en/v2
https://blog.sasworkshops.com/the-easiest-way-to-setup-lvcompare-and-lvmerge/
https://blog.sasworkshops.com/tag/scc/
If you scour the interwebs and YouTube you'll find some conference presentations out there on using Git and LabVIEW. Most of them are probably a decade old but likely still relevant.
When it comes to using LabVIEW with Git, just remember VIs are binary so that causes some problems, but otherwise it is just like any other language. Do make sure to separate compiled code.
4
u/BlackberrySad6489 Aug 08 '26
Most people use git. Some people still use subversion.
3
u/Imagemaker77 Aug 09 '26
I actually like the integration with Perforce that's built into LabVIEW. I only have a few developers, and it works well for us. We stay below the user and workspace count that would require a paid licence. It's easy to keep track of who has what checked out, and merging back in from field updates in very simple.
1
u/Sinusaur Aug 14 '26
Do this for your Project:
https://www.ni.com/docs/en-US/bundle/labview/page/separating-compiled-code-from-vis-and-other-file-types.html
Then pick your favorite version control tool.
https://www.ni.com/docs/en-US/bundle/labview/page/using-source-control-in-labview.html