Jump to content

Hooks into LV Compare


Recommended Posts

After much googling I think I know the answer , but , I will ask here...

I need to write a utility to compare vi's in a large project , and probably future projects..

Automating the Compare Hierarchy is pretty simple , but , I need to go one step farther and and show the differences circled then saved as a jpeg etc....

As of now there doesn't appear to be a way to automate showing the differences  , it will be a real pain to have to do it all manually ...

We are currently using LV 2012 , but , will be upgrading to either 18/19 soon...

 

Dan

Link to comment

Well , since I installed the evaluation version of LV2018 i played around with the Compare VI Hierarchies tool , it actually does everything I need ...

But , be cautious using it at first when Creating a Report , it did the webpage report just fine , when I tried to create a Word Doc it failed , AND , deleted everything in the directory it was supposed to save the Word doc in , luckily I was using the Temp directory so it wasn't a big issue , in fact on a second try at it , it deleted the Temp directory too , not just the contents...

As I said I am using the evaluation version , so , maybe something is wrong with my install.

 

Dan

 

 

Link to comment
25 minutes ago, FragRz said:

Sorry, I should have explained more clearly what it means that the method is private.

In short, private methods are not officially supported - they may not have documentation, they may not work, or they may even have unexpected side effects - just like in your case.

FragRz

I didn't mean the private Method you referred to , I was talking about the when you have LV open and go to Tools -> Compare -> Compare VI Hierarchies...

 

Dan

Link to comment
On 4/19/2019 at 8:13 AM, Dan Bookwalter N8DCJ said:

Well , since I installed the evaluation version of LV2018 i played around with the Compare VI Hierarchies tool , it actually does everything I need ...

But , be cautious using it at first when Creating a Report , it did the webpage report just fine , when I tried to create a Word Doc it failed , AND , deleted everything in the directory it was supposed to save the Word doc in , luckily I was using the Temp directory so it wasn't a big issue , in fact on a second try at it , it deleted the Temp directory too , not just the contents...

As I said I am using the evaluation version , so , maybe something is wrong with my install.

 

Dan

 

 

I got a PSE to work on this for a while this week. We couldn’t replicate the issue. It’s a pretty bad bug — wiping out the whole directory. If you have more explicit steps to reproduce, please consider filing a bug report with NI. 

Link to comment
15 hours ago, Aristos Queue said:

I got a PSE to work on this for a while this week. We couldn’t replicate the issue. It’s a pretty bad bug — wiping out the whole directory. If you have more explicit steps to reproduce, please consider filing a bug report with NI. 

AQ

I will try again today and see if i can replicate it....

 

Dan

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.