LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Labview cvs integration - documented?

Hi nrp,
   You're right, but... don't forget that in newer LVs, you can include docs, pictures, configuration files etc... in the project, so I suppose you can commit all together.

    The benefit you're talking i quite applicable, mostly for people like me, developing in very different IDEs (LabView, Atmel AVR studio & Winavr for microcontrollers, DevCpp & Eclipse for PC based apps, and also PCB layout....).  You can always use the same interface (tortoise Smiley Wink ).

   Have a nice day!

graziano
0 Kudos
Message 11 of 16
(1,883 Views)
And if your hellbent to see 'add, commit, revert, or delete', you can easily create them using labview and the command line functions for SVN.  Add them to the projects folder so that you can see them under tools... bang done in the IDE.  LOL

Paul
0 Kudos
Message 12 of 16
(1,881 Views)
Thanks everyone. That tortoise thingy actually sounds fairly usable. But how do you handle the graphical change comparison between different revisions?
0 Kudos
Message 13 of 16
(1,871 Views)
That's it!
   In fact, you should use "compare VIs" combined with SVN.  I don't know how to do it, actually, I don't use too much compare VIs utility.......

   Of course you can do it manually: obtain from the server a previous version of a vi, and compare with the working copy, but it is not easy.

   I Hope someone else has tried....

graziano
0 Kudos
Message 14 of 16
(1,869 Views)


@Graziano wrote:
   Of course you can do it manually: obtain from the server a previous version of a vi, and compare with the working copy, but it is not easy.

   I Hope someone else has tried....

They have. Search SourceForge for "LVDiff" which is an executable which calls the LV compare tools. You need to configure TSVN to call that for LV data types (.vi, ,.vit, .ctl, .ctt) and it will allow you to do a diff just like with any other language. I had to tweak it to suit my needs, but it's fairly simple.

In LV 8.5, NI added a merge feature, and I believe Tomi Maila added TSVN integration to it and posted about it in his blog.

One important point is that you will probably have to train your users a bit. Both SVN and LV do not like when you move files that they use yourself, so you need to get your users to have some discipline. If you search, you should be able to find some material on working with SVN and LV (try searching Mike Porter's posts).

___________________
Try to take over the world!
Message 15 of 16
(1,865 Views)
Great TST!
   Many thanks!!!! I didn't knew that!
graziano
0 Kudos
Message 16 of 16
(1,858 Views)