LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Automating the compare of a project in LabVIEW 8.5

Hi folks,

 

I am writing LabVIEW code to automate the comparison of a Woking Copy (WC) of a project with the copy in an SVN repository.

 

The way it works is that I get file lists from both the Working Copy and the repository. Then for each VI or control that is in both places, I get a local copy of the repository version (with a different name) and call "CMP Compare two VIs.vi".

 

90+% of the time this works just fine.

 

Some of the time I get a pop-up box asking for a password. This is the same pop-up box you would get for a password protected VI where you want to look at the block diagram. The VIs causing this are not password protected. When you look at the Lock State property, it is "Not Locked". You can open the VI seperately and look at the block diagram without a password. None of the VIs subVIs are password protected. 

 

This only happens with files from the repository, not the ones from the WC. (I tried swapping the path inputs to the CMP Compare two VIs.vi and it was still the repository copy causing problems.)

 

The pop up message is also strange as the file it is complaining about is a garbled mess of both of the files being compared. I have attached a screen shot of the Pop up. The files being compared when this pop-up shows up are:

lvtemporary_501221.vi

AI-Only.vi

 

What I am looking for is a work-around so I can use this project without having to stand by and click buttons while it sorts through all the files in the WC.

0 Kudos
Message 1 of 3
(2,441 Views)

Hi,

 

I'd like to ask you if you are using Web Services in your application?

If that is the case, you can use this KB as a reference to solve your problem.

 

Regards,

 

Miguel Fonseca

Applications Engineer

National Instruments  

0 Kudos
Message 2 of 3
(2,428 Views)

Hi Miguel,

 

Unfortunately no. This is not a web service project.

0 Kudos
Message 3 of 3
(2,421 Views)