LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

compare two VIs

I have two codes that suppose to be the same but I want to make sure by comparing the VIs. The code consists of 50+ VIs. I was trying to use CMP compare two VIs.vi in labview 7.0 but got an error when try using it. Is there an easy way to compare the VIs?
0 Kudos
Message 1 of 4
(2,968 Views)
If the vi's should be exactly the same, you can compare them with a
hex-editor. E.g. with WinHex, is free as trial for files up to 250 kB.

Hope that helps, Niko

Tran25 wrote:

> I have two codes that suppose to be the same but I want to make sure
> by comparing the VIs. The code consists of 50+ VIs. I was trying to
> use CMP compare two VIs.vi in labview 7.0 but got an error when try
> using it. Is there an easy way to compare the VIs?
0 Kudos
Message 2 of 4
(2,968 Views)
Nikolai Maris wrote in news:2tp8eeF2264ogU1@uni-
berlin.de:

> If the vi's should be exactly the same, you can compare them with a
> hex-editor. E.g. with WinHex, is free as trial for files up to 250 kB.
>
> Tran25 wrote:
>
>> I have two codes that suppose to be the same but I want to make sure
>> by comparing the VIs. The code consists of 50+ VIs. I was trying to
>> use CMP compare two VIs.vi in labview 7.0 but got an error when try
>> using it. Is there an easy way to compare the VIs?
>

Or use dos command fc

Binary files with different lenght will be flagged different
Binary files with same lenght will show where they are different.
Text files with differences will output different lines.

--
Rolf
0 Kudos
Message 3 of 4
(2,968 Views)
The easiest, but not cheapest, is to upgrade to the professional version of LabVIEW. It comes with a compare tool. Other tools might tell you that there is a difference but not what it is.
Message 4 of 4
(2,968 Views)