Go to Post The Chairman's award is about doing what you can to strengthen the FIRST community. It doesn't require money to simply lend tools, wise advice or a hand. - Koko Ed [more]
Home
Go Back   Chief Delphi > Technical > National Instruments LabVIEW and Data Acquisition
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 09-05-2008, 19:39
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,558
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Labview Revision Control

Our team has decided to look very seriously at using labview next year. One thing that worries me is revision control. We started using CVS a few years ago to make it much easier for multiple people to work on the code. My favorite feature was the merge capability so that multiple people can work on the same file (and even the same line of code), since in the fast paced world of FIRST we don't always have our files as self contained as I would like.

I found the following document about revision control in labview: http://zone.ni.com/devzone/cda/tut/p/id/4633

We did use labview for the dashboard, and I stored the VIs in CVS, which worked ok. However, we only had one person working on it, so we only needed to store the revisions, no need for merging. Now that we will have everyone, merging would be nice, but the above document says that it is not supported. It does show graphical differencing, which would work better then nothing.

The only problem is that the document implies that you have to have a supported version control solution to take advantage of the graphical differencing. Most of the supported software costs thousands of dollars. The supported CVS client costs $27 per license, which adds up. Are there any cheaper ways to get graphical differencing?
Reply With Quote
  #2   Spotlight this post!  
Unread 09-05-2008, 20:54
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,748
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Labview Revision Control

Quote:
Originally Posted by Joe Ross View Post
The only problem is that the document implies that you have to have a supported version control solution to take advantage of the graphical differencing. Most of the supported software costs thousands of dollars. The supported CVS client costs $27 per license, which adds up. Are there any cheaper ways to get graphical differencing?
The difference feature is part of LV, not part of the CVS or another repository tool. So, you can diff independent files, or revisions of the same file from within LV, and it is potentially independent of the CVS system.

Even with merge, you will want to use CVS a little differently. You will likely want to lock files to prevent multiple simultaneous edits. As you noted, it isn't quite as convenient to merge LV code graphs as it is to merge textual C files. The lock doesn't have to prevent simultaneous edits, but it means that both parties are aware of the upcoming merge, and aren't surprised by it.

Merge is in the works, by the way, and if you embrace subVIs and modular code, LV can scale to medium sized teams of SW engineers (10 or so). But the SCC tools and LV diff and merge features aren't mature enough to support large or huge teams easily, at least not yet.

Greg McKaskle
Reply With Quote
  #3   Spotlight this post!  
Unread 11-05-2008, 17:28
lynca's Avatar
lynca lynca is offline
Andrew Lynch
FRC #2587 (DiscoBots)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2001
Location: Houston, TX
Posts: 1,611
lynca has a reputation beyond reputelynca has a reputation beyond reputelynca has a reputation beyond reputelynca has a reputation beyond reputelynca has a reputation beyond reputelynca has a reputation beyond reputelynca has a reputation beyond reputelynca has a reputation beyond reputelynca has a reputation beyond reputelynca has a reputation beyond reputelynca has a reputation beyond repute
Send a message via AIM to lynca
Re: Labview Revision Control

I've used revision control using SVN on Labview files, one way to avoid editing the same VI file at a time is to create sub-vi files. That way people can be editing sub-vi's without introducing conflicts between files. However you still can't edit the same file at the same time and hope for a successful merge (at least with the open source SVN available). I mainly use SmartSVN.
__________________
History: 624 - Cryptonite --> 118 - Robonauts --> 2158 - AusTIN CANS --> 2587 DiscoBots
Bio: Andrew Lynch "How I Work" ---- LinkedIn , Facebook, Twitter
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
pic: Team 294 2007 gearbox revision 1 AdamHeard Extra Discussion 10 26-07-2007 01:10
Labview tseres Programming 2 23-05-2007 00:27
First Revision Wetzel Rules/Strategy 2 08-01-2006 02:52
File Sharing and Revision Tracking Madison FIRST-related Organizations 14 04-06-2003 18:01
Revision of the How-To Manual Mike McIntyre OCCRA 0 24-09-2001 00:57


All times are GMT -5. The time now is 18:32.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi