As anyone who has asked me about source code control knows, I've become a very big fan of Subversion; specifically, TortoiseSVN. I originally started using it because a large number of NI customers I was speaking with had made the switch, due in no small part to the price tag (it's free). But it's not just the price that makes it so appealing - TortoiseSVN is very easy and simple to use, which makes it something that makes you more efficient, rather than weigh your development process down.
If you're not using source code control at all, you're playing with fire. And since Subversion is free, you now have no excuse. Still not convinced? Has any of the following ever happened to you:
Any of these could've been avoided or made easier if you'd been using source code control. So go download Subversion! Go here.
UPDATE (7/29/13)
There is now a free plugin from Viewpoint Systems that sets up integration with Tortoise for you (including diff and merge) and overlays the icons in the Project Explorer - the best part is that it's totally FREE. I strongly recommend that anyone using SVN+LabVIEW install this tool. The latest version can be found here: Subversion Version Control for LabVIEW. Please make sure you already have Tortioise installed - if you don't, make sure to restart your computer after installing Tortoise. You'll also need to restart LabVIEW after installing this plugin. Enjoy!
Tip 1
If you're going to use Subversion with LabVIEW, you need to know a few things. Subversion stores some hidden folders and files in your directory structure, which can cause some problems when mass compiling or using auto-populating folders. Not to worry! Open your labview.ini file and enter 'skipSVNFolders=true' to resolve this issue (only works in 2009, will be on by default in 2010).
Tip 2
If you're using the professional version of LabVIEW, you can tell Subversion (or any source code control tool) to invoke the command-line diff and merge executables. To set this up, right click in Windows Explorer and select TortoiseSVN > Settings. Select Advanced and enter the following for a .vi file type (this can also be used for a .ctl) "C:\Program Files\National Instruments\Shared\LabVIEW Compare\LVCompare.exe" %mine %base -nobdcosm -nobdpos. Do the same for merge, but enter "C:\Program Files\National Instruments\Shared\LabVIEW Merge\LVMerge.exe" %base %mine %theirs %merged. The command line parameters are explained in the LabVIEW help, click here for LVCompare.exe. More info on command-line differencing.
Getting Started with Subversion
If you've never used source code control and want to give it a try, check out this hands-on exercise and example program I published here: http://decibel.ni.com/content/docs/DOC-10122
As for experienced source code control readers and users, what packages are you using, and do you have any tips for use with LabVIEW? Is anyone using Git or Mercurial? (two other popular open source SCC providers)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.