LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Bug: Diagram keeps massively reorganising itself

 

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.

 

Labview bug before.png

To this

 

Labview bug.png

0 Kudos
Message 1 of 33
(4,378 Views)

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

-----

The best solution is the one you find it by yourself
0 Kudos
Message 2 of 33
(4,362 Views)

Does undo take you back to a reasonable state?

Matt J | National Instruments | CLA
0 Kudos
Message 3 of 33
(4,358 Views)

What version of LV are you using?

 

Please active VI Scripting in the LV options and implement this in a new vi:

BD_Bounds.PNG

 

Select your affected VI and execute this on it. I would expect the BD to be totally out of bounds....

 

Norbert

Norbert
----------------------------------------------------------------------------------------------------
CEO: What exactly is stopping us from doing this?
Expert: Geometry
Marketing Manager: Just ignore it.
0 Kudos
Message 4 of 33
(4,351 Views)

 

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.

0 Kudos
Message 5 of 33
(4,343 Views)

Yes, I see. Looks like a bug with the Clean up diagram feature. Did you anytime change the options for Block Diagram Cleanup?

-----

The best solution is the one you find it by yourself
0 Kudos
Message 6 of 33
(4,333 Views)

It looks like you've done a Ctrl+drag to create space, which i assume is that Cleanup does.

/Y

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 7 of 33
(4,329 Views)

 

I'm afraid I'm having trouble getting the Labview scripting package to work, I'll keep trying.

0 Kudos
Message 8 of 33
(4,318 Views)

 

No I haven't changed any cleanup settings.

0 Kudos
Message 9 of 33
(4,317 Views)

 

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.

0 Kudos
Message 10 of 33
(4,312 Views)