From Saturday, Nov 23rd 7:00 PM CST - Sunday, Nov 24th 7:45 AM CST, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Saturday, Nov 23rd 7:00 PM CST - Sunday, Nov 24th 7:45 AM CST, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
02-04-2014 08:02 AM
Is there any way of automating the LVDIFF process?
We work a lot with classes and other VIs over multiple targets (runninc concurrently) and we're forever having to check files marked as changed by SVN to see if there really WAS a change or if the VI was just re-saved in a new context (in order to deploy to RT for example).
I'd love to be able to automate the process of running a check on all of the VIs in my hierarchy versus the current SVN version and revert if no changes reported (no REAL changes that is) and leave marked as changed if changes are detected.
Is there such a thing available? Are tools for such a task available?
Shane.
02-04-2014 09:39 AM - edited 02-04-2014 09:42 AM
Does separating source from compiled alleviate this issue? If not, I assume you are looking for a way to compare the block diagrams without comparing the underlying binary that may change when the target is switched and VI is saved? Even so, this wouldn't totally fix the issue; someone could always move a VI on the block diagram.
02-04-2014 09:48 AM
Well moving a VI on the BD IS a change (cosmetic, but a change).
I only want to exclude the "VI Recompiled" but nothing else issues. And seperating source code funnily enough doesn't solvet he ptoblem is conditional disable structures are present.
02-04-2014 10:53 AM
Don't even need to work on different targets. Same thing happens with changed typedefs (enum). They require the calling VIs to be resaved, even though there's no change (just recompiled). It would be nice to find those as well.
02-04-2014 12:05 PM
@Intaris wrote:
Well moving a VI on the BD IS a change (cosmetic, but a change).
I only want to exclude the "VI Recompiled" but nothing else issues. And seperating source code funnily enough doesn't solvet he ptoblem is conditional disable structures are present.
Is this problem causing you to drink and post?
02-04-2014 02:58 PM
No, that's just what happens when I don't post-edit my posts. My typing accuracy has gone to hell in the last couple of years.
02-04-2014 03:31 PM
There is a private method of the application class to compare VIs using two references. It might help you out.
02-04-2014 03:41 PM
@Darin.K wrote:
There is a private method of the application class to compare VIs using two references. It might help you out.
I was going to dig for something like this to see if it existed, but looks like Darin, the source of all knowledge, beat me to it.
02-04-2014 03:44 PM
Also, just inspecting the Mods.vi property bitwise might be fairly helpful in masking out "Who cares" changes and helping you concentrate on the changes you are concerned with.
Getting information on "What the bitfield means?" might involve some under-the-hood information that is pretty difficult to track down although SOMETHING in vi.llb must be doing it somewhere to populate the explain changes strings.
02-04-2014 03:59 PM
@Darin.K wrote:
There is a private method of the application class to compare VIs using two references. It might help you out.
That sounds interesting indeed. I'll try it out in the office tomorrow.