Discussion:
Can I use Subversion with Labview8
(too old to reply)
Arno Euteneuer
2005-11-07 11:41:00 UTC
Permalink
I just tried the LabVIEW 8 evaluation version together with a Subversion SCC plug-in (again an evaluation copy) from PushOK (<a href="http://www.pushok.com/soft_short_info.php" target="_blank">http://www.pushok.com/soft_short_info.php</a>)
and it seems to work like expected. The SCC plugin is correctly
recognized by LabVIEW and can be used to check in and out files etc.
Only I wasn't able so far to use LVDIFF (<a href="http://meta-diff.sourceforge.net/index.html#lvdiff" target="_blank">http://meta-diff.sourceforge.net/index.html#lvdiff</a>)
as an "external" diff viewer from within LabVIEW. Maybe the reason is
one of the limitations of the evaluation status. (It seems that the
Call by Reference Node is not able to get the connector panel
assignment from the NI comparision VI...)

Regards

Arno
TimM(AE)
2005-11-07 12:11:05 UTC
Permalink
Hi

LabVIEW 8 supports several third-party source control providers. Available source control operations in LabVIEW 8 are the same regardless of which third-party provider you select. Specific support or functionality for each operation varies by provider.

LabVIEW 8 includes two source control integration interface types. On Windows, LabVIEW 8 integrates with any source control provider that supports the Microsoft Source Code Control Interface. On non-Windows platforms, LabVIEW 8 integrates with Perforce using a command line interface. National Instruments has tested LabVIEW 8 with the following third-party providers:

Perforce

Microsoft Visual SourceSafe

MKS Source Integrity

IBM Rational ClearCase

Serena Version Manager (PVCS)


Tim M

AE
kphite
2005-12-30 23:41:22 UTC
Permalink
Derek,
Try using the meta-diff tool here: <a href="http://sourceforge.net/projects/meta-diff" target="_blank">http://sourceforge.net/projects/meta-diff</a>
&nbsp;It works great even though it's not integrated within LV.
kph
Jim Kring
2005-12-31 00:40:08 UTC
Permalink
I have gotten this working.&nbsp; It is a two part problem:1) lvdiff needs to be modified for LabVIEW 8.0, since the conpane of project\procmphier.llb\CMP compare two VIs.vi has changed.&nbsp; Use <a href="http://forums.ni.com/attachments/ni/170/158763/1/lvdiff-8.0.vi" target="_blank">the attached VI</a>, but rename it from "lvdiff-8.0.vi" to "lvdiff.vi" and replace the one in the installed location (back up your original). 2) you need configure PushOK SVN Proxy to "Allow non modal view and compare windows (cause temporary files remain on disc)" [sic].&nbsp; This checkbox can be set from the PushOK SVN Proxy properties dialog available from the Start&gt;&gt;Programs&gt;&gt;PushOK Software&gt;&gt;SVNSCC&gt;&gt;Configure plugin. I'll work with Ian Dees (lvdiff author) to try to get my changes to lvdiff included in the main distribution.&nbsp; We can make a fancier version that can handle any version of LabVIEW, intellegently.Message Edited by Jim Kring on 12-30-2005 04:31 PM


lvdiff-8.0.vi:
http://forums.ni.com/attachments/ni/170/158763/1/lvdiff-8.0.vi
Khalid
2007-01-31 16:40:14 UTC
Permalink
Just wanted to add a note -- hopefully will be of help to someone -- that the LVDiff v2.3 works with labVIEW 8.20 (and Perforce in my case):
<a href="http://sourceforge.net/projects/meta-diff/" target="_blank">http://sourceforge.net/projects/meta-diff/</a>
Thanks,
-Khalid
JoeC
2008-08-13 20:10:10 UTC
Permalink
I am trying to setup TortoiseSVN for use with subversion.&nbsp; Does anyone know what the path and name of the executable for the differencing program in LV 8.6?&nbsp; I would like to be able to do differencing using TortoiseSVN.&nbsp; Tortoise does allow for External differencing engines as per the attachment doc1.&nbsp;&nbsp;


Doc1.doc:
http://forums.ni.com/ni/attachments/ni/170/349131/1/Doc1.doc
Sappster
2008-08-14 17:10:05 UTC
Permalink
Hi Joe,&nbsp;I'm not extremely familiar with SCC but I will try and find your answer. Here is all the information I have for integrating scc in LabVIEW. Let me know if this helps.&nbsp;<a href="http://decibel.ni.com/content/docs/DOC-1681" target="_blank">SCC Setup</a>
JoeC
2008-08-14 18:10:08 UTC
Permalink
I figured out that lvdiff is a piece of code that will interface the compare engine in LabVIEW (...\CMP compare two VIs.vi).&nbsp; However, there are some interesting things happening when I run a difference from TortoiseSVN.&nbsp; The VIs I am comparing (present and previous version) load up, but the new instances of the VIs can not find their sub VIs.&nbsp; Also, I added some code to save the path names of the two VIs to a text file.&nbsp; The paths are &lt;not a path&gt;.&nbsp;It almost sounds like I need to have the lvdiff.exe&nbsp;files in my labview project?
Sappster
2008-08-15 14:40:21 UTC
Permalink
I'm not sure. Here is some links to other forums where they use TortoiseSVN. Let me know if they help. I'll try to find out about the differencing engine.&nbsp;<a href="http://forums.ni.com/ni/board/message?board.id=170&amp;thread.id=266911&amp;view=by_date_ascending&amp;page=2" target="_blank">http://forums.ni.com/ni/board/message?board.id=170&amp;thread.id=266911&amp;view=by_date_ascending&amp;page=2</a> &nbsp;<a href="http://forums.ni.com/ni/board/message?board.id=170&amp;message.id=220630&amp;requireLogin=False" target="_blank">http://forums.ni.com/ni/board/message?board.id=170&amp;message.id=220630&amp;requireLogin=False</a> &nbsp;<a href="http://forums.ni.com/ni/board/message?board.id=170&amp;message.id=225775&amp;requireLogin=False" target="_blank">http://forums.ni.com/ni/board/message?board.id=170&amp;message.id=225775&amp;requireLogin=False</a> &nbsp;The third one has some links to work done with lvdiff but it is over a year old so I don't know how valid it is.
JoeC
2008-08-15 16:10:08 UTC
Permalink
OK...
JoeC
2008-08-15 16:40:17 UTC
Permalink
Attached are all the files for the VI...


My Source Distribution.zip:
http://forums.ni.com/ni/attachments/ni/170/349650/1/My Source Distribution.zip
JoeC
2008-08-15 16:40:18 UTC
Permalink
I looked at the links, and the SCC and Tortoise I believe are setup correctly.&nbsp;&nbsp;I changed the lvdiff.vi code so that you don't need the ini file, but limited the execution for the current platform for debug purposes.&nbsp; The ini file that comes with the installation package from meta-diff is missing fields that lvdiff looks for.&nbsp;Tortoise is neat in that it provides the path to the two VIs you are trying to compare as I added this property the modified version.&nbsp;Now, I believe, it is just a matter of getting the call to&nbsp;C:\Program Files\National Instruments\LabVIEW 8.6\project\procmphier.llb\CMP compare two VIs.vi in the lvdiff.vi work as an executable...&nbsp;
JoeC
2008-08-15 14:40:21 UTC
Permalink
Update....&nbsp;I am running into an interesting issue with LabVIEW and the embedded comparison tool.&nbsp; I was able to modify lvdiff.vi, run it as a vi stand alone, and compare two VIs!!!&nbsp; :-)&nbsp;When I build the lvdiff.exe application and call it from Tortoise, I get the error that this function is not available in this version of LabVIEW....????&nbsp; :-(&nbsp;&lt;Now for my rant&gt;&nbsp;What's up with that?????&nbsp; Please tell me I am doing something wrong, and that NI did not put code in the comparison application to disable comparisons by third party comparison tools or will not run when called by a user exe?&nbsp;Attached is my part way modified lvdiff.vi if someone else can confirm in LV 8.6 that they are having the same issue...


lvdiff.vi:
http://forums.ni.com/ni/attachments/ni/170/349592/1/lvdiff.vi


Two comp file.jpg:
http://forums.ni.com/ni/attachments/ni/170/349592/2/Two comp file.jpg
Loading...