LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Compare Vi for revision control

Hi all,

 

There are files in c:/.../LabVIEW 2009/templates, .../user.lib, vi.lib, etc that I modified.  They are in the LabVIEW folders, so that they will show up properly on my pallete.  However, I can't source safe these locations, so I also put these files in c:/SC.  What I want to do is to write a VI that would compared the files from two location (LabVIEW locations and source safe location), and if the files under the LabVIEW folders are different, they will all be overwritten.  Can you give me some hints? Thanks!

 

Yik

------------------------------------------------------------------

Kudos and Accepted as Solution are welcome!
0 Kudos
Message 1 of 5
(2,760 Views)

Under Functions>>Connectivity>>Source Control there is a vi called SCC Compare VIs.vi. That looks like a great place to start.

Now Using LabVIEW 2019SP1 and TestStand 2019
Message 2 of 5
(2,752 Views)
Personally, I think overwriting NI examples is a bad idea. Why didn't you simply copy and rename and avoid all this?
0 Kudos
Message 3 of 5
(2,746 Views)

Hi Dennis,

 

I plan to distribute this app to other developer in the team, so that I don't have to tell me which files are updated and where to put the files

------------------------------------------------------------------

Kudos and Accepted as Solution are welcome!
0 Kudos
Message 4 of 5
(2,724 Views)

Under %ProgramFiles%\National Instruments\Shared\LabVIEW Compare\ there's the LVCompare.exe which you could use a a Diff tool for your SCC provider.

 

 

Hope it helps

Christian

Message 5 of 5
(2,709 Views)