Go to Post Am I the only one who thinks robots are the main attraction of a regional, and there isn't a need for more distraction? - Adam Richards [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 18-01-2016, 17:38
brubakbd brubakbd is offline
Registered User
FRC #5188
 
Join Date: Jan 2016
Location: Terre Haute, Indiana
Posts: 8
brubakbd is an unknown quantity at this point
Labview & Github

I'm a mentor for team 5188 and this year we want to try to organize our code revisions better, so obviously github is the solution we came to. But I'm not quite sure how to integrate the two as I'm not familiar with git myself. Has anyone gotten a nice setup for this or know of any good tutorials for setting it up? Thanks!
Reply With Quote
  #2   Spotlight this post!  
Unread 18-01-2016, 17:47
dubiousSwain's Avatar
dubiousSwain dubiousSwain is offline
The ride never ends
AKA: Christian Steward
FRC #5420 (Velocity)
Team Role: Mentor
 
Join Date: Oct 2011
Rookie Year: 2011
Location: USA
Posts: 304
dubiousSwain has a reputation beyond reputedubiousSwain has a reputation beyond reputedubiousSwain has a reputation beyond reputedubiousSwain has a reputation beyond reputedubiousSwain has a reputation beyond reputedubiousSwain has a reputation beyond reputedubiousSwain has a reputation beyond reputedubiousSwain has a reputation beyond reputedubiousSwain has a reputation beyond reputedubiousSwain has a reputation beyond reputedubiousSwain has a reputation beyond repute
Re: Labview & Github

Quote:
Originally Posted by brubakbd View Post
I'm a mentor for team 5188 and this year we want to try to organize our code revisions better, so obviously github is the solution we came to. But I'm not quite sure how to integrate the two as I'm not familiar with git myself. Has anyone gotten a nice setup for this or know of any good tutorials for setting it up? Thanks!
There really is no "good" implementation of git and LV. You can't diff LV files. Period. But that doesn't mean version control isn't useful. You should always use version control. Just keep in mind that you can't merge LV files, only overwrite them.
__________________
2015 MAR District Champions




Reply With Quote
  #3   Spotlight this post!  
Unread 18-01-2016, 18:14
phurley67 phurley67 is offline
Programming Mentor
FRC #0862 (Lightning Robotics)
Team Role: Mentor
 
Join Date: Apr 2014
Rookie Year: 2013
Location: Michigan
Posts: 72
phurley67 is an unknown quantity at this point
I find labVIEW and version control to be a real pain. That said it does come with lvcompare, which does work.
Reply With Quote
  #4   Spotlight this post!  
Unread 19-01-2016, 08:34
RyanN's Avatar
RyanN RyanN is offline
RyanN
AKA: Ryan Nazaretian
FRC #4901 (Garnet Squadron)
Team Role: Mentor
 
Join Date: Jun 2006
Rookie Year: 2005
Location: Columbia, SC
Posts: 1,126
RyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond reputeRyanN has a reputation beyond repute
Re: Labview & Github

GitHub is fully compatible with Subversion. We use TortoiseSVN to version control our stuff on GitHub.

If you install at the VI Package Manager, there is a TSVN plugin for LabVIEW.

http://www.viewpointusa.com/product/.../tsvn-toolkit/
__________________
Garnet Squadron
FRC 4901
Controls Mentor
@rnazaretian

Previous mentor and student from Team Fusion, FRC 364
Reply With Quote
  #5   Spotlight this post!  
Unread 19-01-2016, 15:43
Philip Arola's Avatar
Philip Arola Philip Arola is offline
You can check out any time you like
AKA: KG7VAM
FRC #2898 (The Flying Hedgehogs), FRC #1510 (Wildcats)
Team Role: Alumni
 
Join Date: Feb 2012
Rookie Year: 2012
Location: Beaverton, Oregon
Posts: 83
Philip Arola is an unknown quantity at this point
Re: Labview & Github

Quote:
Originally Posted by dubiousSwain View Post
There really is no "good" implementation of git and LV. You can't diff LV files. Period.
...except for with the diff/merge tools Labview comes with.
You can define these as the diff and merge tools when using command line git, and possibly for only .vi files; I have not worked out the latter yet.
__________________
Cunningham's Law: The best way to get the right answer on the Internet is not to ask a question, it's to post the wrong answer.

Last edited by Philip Arola : 19-01-2016 at 16:13. Reason: Link
Reply With Quote
  #6   Spotlight this post!  
Unread 19-01-2016, 23:07
mshafer1 mshafer1 is offline
Programming Mentor
AKA: Matthew Shafer
FRC #3937 (Breakaway)
Team Role: Mentor
 
Join Date: Jan 2015
Rookie Year: 2008
Location: Arkansas
Posts: 58
mshafer1 is an unknown quantity at this point
Re: Labview & Github

Quote:
Originally Posted by Philip Arola View Post
...except for with the diff/merge tools Labview comes with.
You can define these as the diff and merge tools when using command line git, and possibly for only .vi files; I have not worked out the latter yet.
My team has used Tortoise Git in the past (which also supports customizing the diff and merge tools to use the LabVIEW provided ones), the tutorial we used to use is no longer online, but this project on Bitbucket is specifically supporting Tortoise Git working with LabVIEW
Reply With Quote
  #7   Spotlight this post!  
Unread 20-01-2016, 17:13
cjl2625's Avatar
cjl2625 cjl2625 is offline
apel py
AKA: Cory Lynch
FRC #2067 (Apple Pi)
Team Role: Programmer
 
Join Date: Jan 2013
Rookie Year: 2013
Location: Guilford, CT
Posts: 412
cjl2625 is a splendid one to beholdcjl2625 is a splendid one to beholdcjl2625 is a splendid one to beholdcjl2625 is a splendid one to beholdcjl2625 is a splendid one to beholdcjl2625 is a splendid one to beholdcjl2625 is a splendid one to beholdcjl2625 is a splendid one to behold
Re: Labview & Github

My team is using TortoiseGit + GitHub with LabVIEW. The main thing for LabVIEW is to set up the diff and merge tools which actually work pretty well. Here's how:
In the settings menu, there's an area for diff view and merge tool. Set an external diff tool like this:

The location for diff tool should be:
C:\Program Files (x86)\National Instruments\Shared\LabVIEW Compare\LVCompare.exe

Do the same for merge tool, and the location for that is:
C:\Program Files (x86)\National Instruments\Shared\LabVIEW Merge\LVMerge.exe
__________________
Head Programmer / Driver
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:25.

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