LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LV Compare VI Icon (B/W) difference

I just ran into the same issue with LV17.  In my case, I took a VI and just made an exact copy of it.  Opened the copy, saved it, closed it, verified with git that it didn't change.  Then I opened the copy again, moved the front panel on the monitor, saved it, and then saw that git showed it as modified.  LVdiff.exe called by git with stock options reported 0 differences, but yet git reported differing binaries.  Checking with the LVCompare GUI tool with all options checked, it reported the same message as you said (VI Icon B/W).  I was expecting it to say something about the Window position...

0 Kudos
Message 11 of 12
(561 Views)

The location on screen of a VI front panel is stored inside the VI. LabVIEW doesn't in itself consider this a change that warrants an asterix in the title bar (and hence will not prompt you to save the VI) but if you save it anyhow it will store the new location with pretty much everything else unchanged. GIT itself does a simple binary compare which of course will be different, LVDiff does a contextual compare, which will ignore some of these more cosmetic differences by default. There seems to be some mixup with the flags somehow about VI Icon B/W and frontpanel window attributes.

Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
0 Kudos
Message 12 of 12
(549 Views)