06-27-2016 07:37 AM
This bug has stolen countless hours from me over the past year. For some unknown reason somewhere between once and a few times a day I go to look at my code and realise Labview has decided to shift most of my blocks to the left or right, without moving any of the wires connecting to them. I haven't been able to find any sort of cause or pattern. The before and after pictures below show what I mean, however the before picture was actually taken after the second picture, once I had reorganised everything back to where it should have been.
Does anybody else suffer from this? This is really crushing my productivity.
,
To this
06-27-2016 07:48 AM
I can see that only your PID Toolkit VIs are dragged to the left. Did you select those for any reason and in the same time try to move items on your BD? Or it is like that when you open it? I have never seen this type of an issue
06-27-2016 07:52 AM
Does undo take you back to a reasonable state?
06-27-2016 08:02 AM
What version of LV are you using?
Please active VI Scripting in the LV options and implement this in a new vi:
Select your affected VI and execute this on it. I would expect the BD to be totally out of bounds....
Norbert
06-27-2016 08:14 AM
It's not just the PID blocks, elsewhere in my diagram other blocks move too. I have actually now discovered at least one cause, it seems every time I click to clean up my diagram everything else in my diagram shifts by ~30px, see the video below.
06-27-2016 08:26 AM
Yes, I see. Looks like a bug with the Clean up diagram feature. Did you anytime change the options for Block Diagram Cleanup?
06-27-2016 08:27 AM
It looks like you've done a Ctrl+drag to create space, which i assume is that Cleanup does.
/Y
06-27-2016 08:40 AM
I'm afraid I'm having trouble getting the Labview scripting package to work, I'll keep trying.
06-27-2016 08:40 AM
No I haven't changed any cleanup settings.
06-27-2016 08:42 AM
It also appears the bug only affects the rest of the diagram that's within the parent loop structure, everything outside the loop is unaffected.