Go to Post We talked to a team in Las Vegas and next year there will be another team with a 25 drive train. The west coast may never be the same. - nuggetsyl [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 10-12-2016, 10:46
GuyM142's Avatar
GuyM142 GuyM142 is offline
Registered User
AKA: Guy
FRC #3339 (BumbleBee)
Team Role: Mentor
 
Join Date: Jul 2013
Rookie Year: 2012
Location: Israel
Posts: 156
GuyM142 is just really niceGuyM142 is just really niceGuyM142 is just really niceGuyM142 is just really niceGuyM142 is just really nice
Smile Using Source Control with LabVIEW

I know there have been many posts about this issue in the past, but the main reason I ask this is to check if there was any progress about it in recent years.

Our programming team has expanded and we are looking for ways to work on the same project from several computers,
as of today we are working with git but it seems hard to resolve conflicts when they happen.

Are there any teams using any kind of source control that is easy to use and works well with vi's? If you use git are there any tips of avoiding conflicts or handling them better?

Thank you!
__________________
2016-2017 - Programming Mentor
Curie Sub-Division Champions with 694, 379 & 1511
2015 - Team Captain & Head of Programming Crew
Carson Sub-Division Champions with 1325, 20 & 1711
First ever Israeli team on Einstein
2014 - Team Captain & Head of Programming Crew
2013 - Head of Programming Crew
2012 - Member of Programming Crew
Reply With Quote
  #2   Spotlight this post!  
Unread 10-12-2016, 14:08
Hitchhiker 42's Avatar
Hitchhiker 42 Hitchhiker 42 is offline
Roboter
AKA: Mark Lavrentyev
FRC #4557 (FullMetal Falcons)
Team Role: Programmer
 
Join Date: Oct 2015
Rookie Year: 2015
Location: Cromwell, CT
Posts: 458
Hitchhiker 42 is a splendid one to beholdHitchhiker 42 is a splendid one to beholdHitchhiker 42 is a splendid one to beholdHitchhiker 42 is a splendid one to beholdHitchhiker 42 is a splendid one to beholdHitchhiker 42 is a splendid one to beholdHitchhiker 42 is a splendid one to beholdHitchhiker 42 is a splendid one to behold
Re: Using Source Control with LabVIEW

In terms of git, are you using it with that thing https://github.com/joerg/LabViewGitEnv? I think it uses LVMerge and such to work with git.

In addition, I've heard/read things about Subversion (?), but I'm not really sure, as I've never used it.
__________________



2016 - NE District Championship Entrepreneurship Award
2016 - Hartford District Industrial Design Award
2016 - Waterbury District Engineering Inspiration Award
Reply With Quote
  #3   Spotlight this post!  
Unread 13-12-2016, 11:34
Jonathan L. Jonathan L. is offline
Registered User
FRC #1094
 
Join Date: Jan 2013
Location: St. Louis MO
Posts: 60
Jonathan L. is a jewel in the roughJonathan L. is a jewel in the roughJonathan L. is a jewel in the roughJonathan L. is a jewel in the rough
Re: Using Source Control with LabVIEW

I have been looking into this since spring and I think I have found a fairly good set of solutions using Git. Here is our setup.

1. Take your pick of between GitHub, Bitbucket, GitLab, or another Git repository hosting site. If you want to keep your code private on GitHub, they offer a free discount to FIRST teams. (I can't find the thread on it at the moment. Maybe someone can find it.) Bitbucket is free for up to 5 developers last I checked. GitLab is free for any number of developers, any number of repos, and up to 10GB per repo. Of course there are other pros and cons to each but GitLab is what we are using at the moment.

2. Assuming you don't want to use the command line I recommend SourceTree as a Git client on Windows.

3. LabVIEW comes with a diff tool and merge tool. They are not perfect as you might expect with graphical programming. And I wouldn't recommend depending on them. But when you end up with two developers accidentally changing the same VI they might come in handy. Since SourceTree does not integrate with LabVIEW’s diff and merge tools perfectly, I made a LabVIEW program that works between the two. You can download the Update Installer here. There are a few things the installer does not do to set up so make sure to read the Wiki page. The source code is also available.


Hope this helps you get started. Let me know if you have any questions.
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


All times are GMT -5. The time now is 20:45.

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