LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
danny_t

Add functionallity to the LVCompare "Differences" window to allow selection off the compare options and a button to allow a re-run compare

Status: New

This is something I have wanted for a while now, but I have raised this idea following on from this community thread: https://decibel.ni.com/content/groups/large-labview-application-development/blog/2011/03/16/integrat...

 

The LVCompare.exe takes in a few command line options for example to ignore front panel changes, if you want compare two VI's but be able to change the switch options you send to LVCopmare you need to write some kind of wrapper function and each time you want to change the difference you see you have to close the Differences window  restart the compare again.

 

I would like to see on the "Differences" window a table that allows the user to change the selected switch options & to then allow the user to re-run the compare on the two VI that are currently in scope without having to close and start again

 

cheers

 

Dannyt

Danny Thomson AshVire Ltd
3 Comments
Bob_Schor
Knight of NI

Danny,

     I didn't notice your Idea posting when I posted a suggestion to make LVCompare available as an "Invoke" node (http://forums.ni.com/t5/LabVIEW-Idea-Exchange/Make-quot-guts-quot-of-LVCompare-available-as-an-Invok...).  In the course of investigating this, someone actually showed me how to do this.  I've basically written the utility that you suggested above -- simply use two Path controls with Browse buttons, pass the paths through Open VI to get references needed for the Invoke Node, create an appropriate Front Panel control for the 6 Compare options, then Invoke away!  While I was playing around with this, I decided I needed to "wait" until the user closed the three Differences windows before proceeding (I''ve not actually tested to see if this is so), so the way I did this is to check if the Front Panel references of the VIs are still open.  It's now up to you to decide how to proceed, i.e. whether to prompt for new files, prompt for new viewing options, or what.

     One minor caveat -- the Invoke node that makes this all possible is currently an undocumented ("secret?") feature of LabVIEW.  I'm hoping the functionality will be maintained, and even made "visible" ...

 

Bob Schor

danny_t
Active Participant
Hi Bob, Looking at your post, which I though was interesting, I think our use case's are different and an invoke node would not help with mine. In my case I am concerned about the integration with a source control tool and a single pair of VI's, I am looking at. While looking at the difference I may want to change to level of diff I am doing or I may edit the VI and want to look at the now resulting diff's all without the extra time of closing down and re-launching the LVCopmare tool.
Danny Thomson AshVire Ltd
shb
Active Participant
Active Participant