LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I programmatically launch LabVIEW's "Compare VIs..." function on two VIs?

Solved!
Go to solution

The command prompt is just

LVCompare.exe "file1" "file2"

 where file1 and file2 are the full paths of your VIs that you want to compare.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 11 of 13
(712 Views)

Yes, thanks, I get that.

But the original poster was looking for ways to do it programmatically (or at least through interface), and it looked like he got his solution through those tools.

 

So I am just curious.

 

The problem with my original application of command was because I had VI names with spaces, as well as the folder names, so I just put them simply in root with simple names for the sake of experiment. And here is what I get ScreenShot014.png

 

where I was comparing "Successor-old.vi" with "Successor-new.vi" using a simple command on the command prompt in the LVCompare folder:

"LVCompare Successor-old.vi Successor-new.vi"

Vaibhav
0 Kudos
Message 12 of 13
(701 Views)

The command accepts spaces if the full paths are given within quotes "".

But nevertheless, different error appears.

Vaibhav
0 Kudos
Message 13 of 13
(697 Views)