Go to Post I love math... :D - Eric W. Jones [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
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-02-2009, 14:40
Terry Sherman's Avatar
Terry Sherman Terry Sherman is offline
Mentor -- Software
FRC #0093 (NEW Apple Corps.)
Team Role: Mentor
 
Join Date: Oct 2004
Rookie Year: 2003
Location: Wisconsin
Posts: 25
Terry Sherman is an unknown quantity at this point
Merging/Comparing LabVIEW VIs

We know that the professional edition of LabVIEW has diff and merge capabilities, it seems that those capabilities are not present in the FRC edition of LabVIEW. What techniques for revision control, code management, etc are teams doing?

For example, we break up our design into modules and each module has an owner. This works great for the most part but when we need to modify shared code such as telop.vi or robot globals, etc, it gets harder to keep the changes straight. Using tools such as SVN have lost much of their value since we cannot diff or merge.

Thoughts? Suggestions?
__________________
-Terry Sherman
Team 93 Software Mentor since 2003
Reply With Quote
  #2   Spotlight this post!  
Unread 09-02-2009, 20:13
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,752
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: Merging/Comparing LabVIEW VIs

I don't have any magic wand or anything, but you may get some improvements by using the source control system with locking to avoid simultaneous edits, and to alert you of who currently has the file checked out. That and perhaps add some additional global files and make some of the teleop code be placed into further modular subVIs. That way you only need to check out the high level VIs like teleop in order to pass extra data between components.

Greg McKaskle
Reply With Quote
  #3   Spotlight this post!  
Unread 16-05-2009, 11:09
josxdr josxdr is offline
Registered User
FRC #2108 (Awkward Turtle)
Team Role: Mentor
 
Join Date: May 2009
Rookie Year: 2008
Location: Raleigh, NC
Posts: 2
josxdr is an unknown quantity at this point
Re: Merging/Comparing LabVIEW VIs

If you can keep your VI size small enough, then the "eyeball diff" method may work. As long as you don't need to scroll around, if you can size the windows the same size and look at them side-by-side, maybe this is good enough to see the changes??? Does anyone have experience with this? I must agree with the first poster, not having access to graphical diff is a major drawback to using LabVIEW. Maybe NI can provide a special crippled version for FRC?
Reply With Quote
  #4   Spotlight this post!  
Unread 09-06-2009, 17:30
josxdr josxdr is offline
Registered User
FRC #2108 (Awkward Turtle)
Team Role: Mentor
 
Join Date: May 2009
Rookie Year: 2008
Location: Raleigh, NC
Posts: 2
josxdr is an unknown quantity at this point
Re: Merging/Comparing LabVIEW VIs

Here is a comment from the NI forums regarding source code control for LabVIEW:
When I started mentoring a few years ago, the team did source control by periodicly copying and renaming the entire directory. That worked for backup, but misses the major advantages of source control (history tracking and simultaneous work). We set up CVS and now everyone is comfortable with source control, which I think will greatly benefit them in their careers (I meet many people at work who only use source control because they have to, and are missing the great benefits).

This year, we still used CVS with LabVIEW, but it felt like we were back in the old days of only creating backups. Without graphical compares, it was very hard to reconstruct the history. Without merging, we couldn't work on the same file at once. We tried to mitigate that by making small files, but that didn't always work out. It also seemed like many times, changing one file affected many others, and I never did figure that out completely. In speaking with my manager at work, he also complained that it was very hard to use source control with LabVIEW. If we can teach everyone now how to effectively use source control with LabVIEW, it may help the adoption of LabVIEW in industry, as some of the misconceptions get broken down.
Is this the experience of other teams? If source control is really not workable, I think my team will have no choice but to use text programming, no matter how wonderful LabVIEW is.
Reply With Quote
  #5   Spotlight this post!  
Unread 12-06-2009, 16:01
TDohse TDohse is offline
Registered User
AKA: Thomas
no team (NI)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 39
TDohse is an unknown quantity at this point
Re: Merging/Comparing LabVIEW VIs

Greg's advice is probably the best for the current software given to FRC teams.

Including diff & merge capabilities in the FRC version of LabVIEW for next season has been discussed at NI.
Reply With Quote
  #6   Spotlight this post!  
Unread 12-06-2009, 19:28
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,579
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
Re: Merging/Comparing LabVIEW VIs

Quote:
Originally Posted by TDohse View Post
Including diff & merge capabilities in the FRC version of LabVIEW for next season has been discussed at NI.
I'm strongly in the camp of teaching configuration management, and would love it if NI would include that part of the professional version.
Reply With Quote
  #7   Spotlight this post!  
Unread 11-08-2009, 17:56
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,579
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
Re: Merging/Comparing LabVIEW VIs

It looks like we may get at least some of those capabilities next year: http://decibel.ni.com/content/message/7319#7319. See BLAQmx's reply today.
Reply With Quote
  #8   Spotlight this post!  
Unread 30-08-2009, 10:30
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,579
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
Re: Merging/Comparing LabVIEW VIs

Here's some more details that NI just posted: http://decibel.ni.com/content/docs/DOC-6494
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
Best Practice for Posting LabView VIs? DonRotolo National Instruments LabVIEW and Data Acquisition 8 09-04-2010 22:37
Merging two assembly files? Drakan290 Inventor 3 12-02-2008 15:27
Merging files fireball3004 3D Animation and Competition 3 30-09-2007 12:18
Comparing Sensor Readings in NQC ZACH P. Programming 5 30-08-2003 17:33
Spreadsheet comparing ALL First motors Nuts4FIRST Motors 0 08-01-2002 09:20


All times are GMT -5. The time now is 21:38.

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