03-23-2022 07:20 AM - edited 03-23-2022 07:27 AM
Hello
I have this VI (attached). I've worked on it for several days with no problems, but today it suddenly began to act weird.
Whenever i move an element, add it or remove, drag new wires or anything at all anywhere on the block diagram, the timed loop and other structures within it expand a few pixels down and to the right. Didn't notice this happening in the event loop nor the first for loop, only the timed loop.
Since this started happening i also noticed that moving elements around the block diagram is laggy and not smooth at all.
Tried restarting LabVIEW, but it didn't help. No other VIs show this bug.
EDIT:
This is how much the structures moved in the time since bug started.
Solved! Go to Solution.
03-23-2022 08:05 AM
Too much junk in one block diagram is what does it. Not joking. Literally, if you have too much stuff sprawled over too much real estate, you're going to run into some weird stuff as you start to exceed the maximum boundaries of a block diagram.
But this is not the case here. The VI is well-organized. Pre LV 2021 SP1 automatic wiring can go haywire in lots of different ways (sometimes even after turning it off!), and I think this is one of those cases.
03-23-2022 08:17 AM
There's a lot of useless stuff currently on the diagram, but it's far from large i think.
I use LV 2019 f2 32 bit version.
If it is wiring going haywire, how would i fix this? And why does it only happen within timed loop, but not over whole diagram?
03-23-2022 09:00 AM
Tried making a snippet and creating a new VI, but the snippet actually brought the bug over, so new VI had it too.
Is there anything i can do apart from recreating VI from scratch?
03-23-2022 09:06 AM
@AeroSoul wrote:
Tried making a snippet and creating a new VI, but the snippet actually brought the bug over, so new VI had it too.
I have experienced the same thing a few times over the years and more than one LabVIEW version. Even on relatively small block diagrams and I never found the actual cause...
@AeroSoul wrote:Is there anything i can do apart from recreating VI from scratch?
In my experience no.
03-23-2022 09:17 AM
03-23-2022 10:29 AM
Sometimes mass compile fixes things.
03-23-2022 10:41 AM
This fixes it.
03-24-2022 02:28 AM
This did indeed fix it, thank you very much paul!
03-24-2022 05:39 AM