08-22-2012 02:00 AM
I want to use a source control tool such as git and svn.
Does LabVIEW have such a tool?
08-22-2012 02:08 AM - edited 08-22-2012 02:12 AM
Hi icat,
Yes.See these: (Sorry as GerdW pointed out not embedded in.)
https://decibel.ni.com/content/docs/DOC-1681
http://zone.ni.com/reference/en-XX/help/371361D-01/lvhowto/configuring_scc/
08-22-2012 02:09 AM - edited 08-22-2012 02:10 AM
Hi iCat,
no, such a tool isn't embedded in LabVIEW.
But you're free to install your own. LabVIEW supports some of them off the shelf, see the options dialog for more information...
And NI provides a KB entry: here!
08-22-2012 03:10 AM
Hey iCat,
I use Tortoise SVN. It is very good and its free.
I use ProjectLocker to host my code. They offer a free package for small projects.
08-22-2012 03:17 AM
Which one between git and svn should I use?
08-22-2012 03:21 AM
08-22-2012 03:49 AM
Hi!
I happily use Tortoise SVN.
There are a few issues when using source control with Labview.
Just a couple:
- vis contain also compiled code and so modifications (for example to a typedef) propagate to many files.
- it's not easy (with respect to text based languages) to compare different verisons of a file.
It's worth giving a look to this:
http://forums.ni.com/t5/LabVIEW/LabVIEW-and-Version-Source-Code-Control-blog-series/td-p/1726752
Regards,
Marco
08-22-2012 03:59 AM
It seems that Tortoise SVN can do graphical diff & merge.
Is there any git software that can do graphical diff & merge?
08-22-2012 04:09 AM
Any source code control provider supports graphical diff&merge as long as you can call LVCompare.exe and LVMerge.exe from the provider.
As i understand, you already managed to configure this for SVN.
I would expect git to have the same possiblity, but i'm sorry that i cannot tell you how...
Norbert
08-22-2012 04:39 AM
Should be the same for GIT, if you use
TortoiseGit
http://code.google.com/p/tortoisegit/
I've never used it, so I'm not sure if it's as stable as TortoiseSVN....
Regards,
Marco