LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

read SVN info in LabVIEW

Hi 

 

Is there any way to read SVN info in labVIEW. For example what is the version or what is the checked out project name ..etcetera

 

Thanks

0 Kudos
Message 1 of 9
(4,063 Views)

Not built-in. You have a number of choices - you could integrate to subvesion directly or use SharpSVN (via .Net). SharpSVN is probably your best route. The Viewpoint TSVN Toolkit for LabVIEW that integrates SVN operations into the LabVIEW IDE uses SharpSVN internally.

0 Kudos
Message 2 of 9
(4,043 Views)

JKI has one as well, but I havn't used it.  I've only used Viewpoint.

0 Kudos
Message 3 of 9
(4,039 Views)

There are several ready to go toolkits that integrate with TortoiseSVN.

I use the VSI TSVN tools.

 

You can get it through VIPM.

 

You could also use command line calls to your SVN client or if you're using TortoiseSVN, you can run command line calls to SubWCRev.

 

 

0 Kudos
Message 4 of 9
(4,038 Views)

It depends on what you are looking for in the end - a developer tool for svn integration into LabVIEW (the TSVN Toolkit people have mentioned is probably your best bet) or a custom run-time application that simply needs to be able to access certain SVN attributes as part of it's tasks. If this is the case, then I recommend using SharpSVN combined with TortoiseSVN. The SharpSVN API is fairly simple to integrate into LabVIEW.

0 Kudos
Message 5 of 9
(4,033 Views)

It used to be a hidden .svn text file in the checked out folder you could extract info from, but it might have changed.

/Y

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 6 of 9
(4,019 Views)

Tortoise 1.7 onwards has a .svn hidden folder with  a database of local WC information. But I wouldn't parse this unless I had a lot fo time on my hands Smiley Very Happy

0 Kudos
Message 7 of 9
(4,015 Views)

According to http://svnbook.red-bean.com/nightly/en/svn.ref.svn.c.status.html it looks like you should be able to do a System exec with svn status -u [path]

/Y

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 8 of 9
(4,008 Views)

@Yamaeda wrote:

According to http://svnbook.red-bean.com/nightly/en/svn.ref.svn.c.status.html it looks like you should be able to do a System exec with svn status -u [path]

/Y



 

I recommend this method. It looks like most of the SharpSVN API is supported in LabVIEW but some of it uses generics (which is not supported in LabVIEW as of 2014b).

0 Kudos
Message 9 of 9
(4,000 Views)