LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Versioning

When i write code i use git to save versions, see differences and get back to an old version if necessary.

 

What is the best way to save development steps in LabView?

================================
system: Win7 and debian stable
0 Kudos
Message 1 of 16
(4,018 Views)

Hi asdfsfdasdafasdf,

 

the best way to do this is to use "Source Code Control" software like Perforce, TortoiseSVN (Subversion),...

 

TortoiseSVN is e.g. freeware and therefore most of our customers are using TortoiseSVN.

 

Here you can learn how to use TortoiseSVN.

 

Hope that help

Best regards

Dippi

0 Kudos
Message 2 of 16
(3,988 Views)

Stay with git.

It's distributed approach is much better than SVN.

Guenter

0 Kudos
Message 3 of 16
(3,973 Views)

Ok. I thought there would be something special for LV Projects. I think svn would be even worse than git.

By the way there is a tortoise-clone for git too, if someone found this thread some day.

 

Is there a tool, that can show differences for example as picture in the blockdiagram?

================================
system: Win7 and debian stable
0 Kudos
Message 4 of 16
(3,969 Views)

LabVIEW is able to compare VIs.  If you use TortoiseGit, you just have to specify LabVIEW.EXE as the "Diff Viewer" for VIs.
Guenter

Message 5 of 16
(3,966 Views)

that sounds interesting. I will try that. Thanks a lot.

================================
system: Win7 and debian stable
0 Kudos
Message 6 of 16
(3,963 Views)

You can read my blog series on the subject.  This thread has all the links to the blog entries.

 

You won't find any of the free VCS's plugging into LabVIEW.  JKI has a toolkit for svn, which will give you some integration, but I would gladly give up integration for LabVIEW for the distributed system.

 

If you have the Professional version of LabVIEW, there is some SCC integration, but it supports a very specific standard, which none of the open source VCS's approach.  The Mercurial User Group is working on creating one for Hg.

 

Also, if you want to diff and merge VIs, you also need the Professional version of LabVIEW and use the LVMerge and LVCompare tools.  There currently is no support that I am aware of for projects, classes, and lvlib merging or diffing.  These are all text based files, so you can look at them to get an idea of what the changes are.  You probably don't want to try to edit them in a text editor, though.

Message 7 of 16
(3,954 Views)

We use Perforce here and it works well.  Pretty easy to use and it integrates well with LV.

0 Kudos
Message 8 of 16
(3,937 Views)

@SnowMule wrote:

We use Perforce here and it works well.  Pretty easy to use and it integrates well with LV.


Thats because..... NI uses Perforce! 


"Should be" isn't "Is" -Jay
0 Kudos
Message 9 of 16
(3,931 Views)

i just tried perforce. There is a no cost version of it with some limitation. (<4 Users)

 

LV found Perforce as VCS, but when i try to add files i get the attached Error

I hope NI will support git soon. Its much better then perforce.

================================
system: Win7 and debian stable
0 Kudos
Message 10 of 16
(3,906 Views)