LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Code control systems for LabView

Solved!
Go to solution

Hello, 

 

I´ve been searching on the forum for a robust way of doing code control using, for example, Github or Gitlab. For reference, https://forums.ni.com/t5/Reference-Design-Content/Getting-Started-Git-and-GitHub-setup/ta-p/3544824

I am extremely curious to know how you manage your code. Can you provide suggestions on how to create a repository so that I can keep different working versions of my projects?

(This should actually have been my first question before starting my project. However, I used a dumb-but-simple approach that I wish now to reform...)

 

Cheers,

Fl0

0 Kudos
Message 1 of 7
(359 Views)
Solution
Accepted by Flonares

Related content,

https://education.ni.com/center-of-excellence/resources/450/session-getting-started-with-github-and-...

 

Before we get into source code control for LabVIEW, there are several YouTube videos on basics of source code control using Git, once you're familiar with the concepts, that can be scaled to LabVIEW with few differences.

 

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
Message 2 of 7
(340 Views)

I think SVN has a slight advantage over GIT for LabVIEW because you don't need to replicate the repository.  Because all LV files are treated as binary, the repo can get big in a hurry.

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
Message 3 of 7
(268 Views)

Here's a good article from Delacor on the issue:

 

https://delacor.com/every-developer-needs-a-time-machine/

0 Kudos
Message 4 of 7
(256 Views)

@billko wrote:

I think SVN has a slight advantage over GIT for LabVIEW because you don't need to replicate the repository.  Because all LV files are treated as binary, the repo can get big in a hurry.


In my experience, both SVN and Perforce have a good edge over Git since they track versions per file, allow single-user edits through locking, and centralize revisions.

 

 

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
0 Kudos
Message 5 of 7
(245 Views)

@santo_13  a écrit :


In my experience, both SVN and Perforce have a good edge over Git since they track versions per file, allow single-user edits through locking, and centralize revisions.

 

 


That's interesting, you see "centralized" as a plus?

I used SVN a long time ago, when I discovered decentralized VCS I quickly abandoned SVN.

I started with Mercurial and then went to Git.
I don't think I could work with centralized again, having multiple clones of the repo is such a useful concept.

Oh and I suggest reading this : https://www.joelonsoftware.com/2010/03/17/distributed-version-control-is-here-to-stay-baby/


We have two ears and one mouth so that we can listen twice as much as we speak.

Epictetus

Antoine Chalons

0 Kudos
Message 6 of 7
(205 Views)

@TiTou wrote:

@santo_13  a écrit :


In my experience, both SVN and Perforce have a good edge over Git since they track versions per file, allow single-user edits through locking, and centralize revisions.

 

 


That's interesting, you see "centralized" as a plus?

I used SVN a long time ago, when I discovered decentralized VCS I quickly abandoned SVN.

I started with Mercurial and then went to Git.
I don't think I could work with centralized again, having multiple clones of the repo is such a useful concept.

Oh and I suggest reading this : https://www.joelonsoftware.com/2010/03/17/distributed-version-control-is-here-to-stay-baby/


I had my fair share working with SVN, Perforce and Git. For LabVIEW, SVN or Perforce workflows are better and especially for a newbie to source code control before getting into Git workflows as the paradigm changes and need a better software engineering mindset to effectively use Git.

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
0 Kudos
Message 7 of 7
(174 Views)