LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Compare 2 vi

IN the source control of LV, there is a function to compare 2 vi if they are the same and mark the difference.
Is it possible to call this function by command line?
0 Kudos
Message 1 of 4
(2,990 Views)
turbot,

LVDIFF is an open source "frontend"  to the LabVIEW compare function for use in an external Source Code Control System or as a command line tool

   http://meta-diff.sourceforge.net/index.html

You may have to adapt the sources to your LabVIEW version. Search the forum for "lvdiff" to get some more hints.


hope this helps

Anke
0 Kudos
Message 2 of 4
(2,979 Views)
that is nice, but is it possible to not let the result pop up as windows to show the difference, just let it feedback as some text or log files.
I need to integrate into my own program.
 
Thanks.
0 Kudos
Message 3 of 4
(2,963 Views)
turbot,

well, that was what you asked for.


I have only used the interactive mode of the compare functions so far, but ...

If you look into the lvdiff.vi block diagramm, you can see a call (via viserver) to <lvdir>\project\procmphier.llb\CMP compare two VIs.vi with the input Interactive? set to TRUE.
Change this input parameter to FALSE and wire the output parameters same? and Description to a function that does whatever you want to be done Smiley Happy with that information.


Happy wiring

Anke

0 Kudos
Message 4 of 4
(2,939 Views)