02-06-2012 07:38 PM
Start from here (attached VI):
switch to the Enabled case and wire the top tunnel to the right tunnel:
Oops! While is the wire misaligned?
The strange thing is that this problem does not occur if you wire from right to top.
Tested in LV 2011.
02-06-2012 07:48 PM - edited 02-06-2012 07:53 PM
Actually, this also occurs with For Loops as well:
(you need to first connect the array to the Loop border. Then in a second step, connect the autoindex thingy to the other side - I know this is not what you would do normally, but this is just illustrating the bug).
Oddly enough, this does not appear to be the case from below:
...for the For Loop. The Disable Structure does that from below:
02-08-2012 08:51 AM
Hi X.,
Thank you for reporting this to the Developer Zone forums! I'll be investigating this cosmetic bug, and I'll let you know what the outcome is.
02-22-2012 01:33 PM
Hi X.,
My apologies for the late response. Unfortunately, I have not been able to reproduce the cosmetic bug that you described. I've tried your code on LV 2011 and 2010 on both Windows 7 and XP SP3 and also tried starting from scratch for both the for loop and diagram disable case. In all these scenarios, the wire connection was not offset at all. I'm still interested to know why this is happening for you. Although I don't see why the OS would be of concern, which OS are you using? Do you also have access to another machine running LV 2011 that you can test this on? What happens when you select the wire and then run the clean up diagram feature? Thanks!
02-22-2012 03:29 PM
I am using XP lastest SP. I'll try on a Windows 7 machine when I'll get a chance.
Clean up results in this:
02-23-2012 01:31 PM
Hi X.,
Thanks for clarifying that with me. With regards to the cleanup, I was wondering if you could select only the misaligned wire and then run the cleanup. The logic behind that was to see if LabVIEW recognizes that the wire is actually offset in that specific instance. However, from the snippet you posted, it does indeed look like the cleanup re-aligned the wire, although in a completely different orientation.
Please do let me know what the outcome is when you get to test this on another machine. So far I've tried this on a number of PCs and I cannot reproduce the issue.
02-23-2012 01:40 PM
Just selecting the misaligned wire and "cleaning" does the job.
I confirmed the behavior on a Windows 7 machine running LV 2011.