12-05-2024 07:59 AM
You should create subVIs from main steps and recreate the main VI from scratch using those subVIs and a better architecture.
In a proper architecture there should be NO Stop function inside the VI, but right now there are dozens...
In principle you are right... but in practice I have to deal with the reality of a poorly coded LabView project and rebuild it by making small improvements to the code each time, because I can't start from scratch.
12-05-2024 08:21 AM - edited 12-05-2024 08:25 AM
@pincpanter ha scritto:
@michele.santucci ha scritto:
How did you do? I can focus these sublabels but I cannot select them neither pin on an edge to resize it...
Moving carefully the mouse pointer near the horizontal center of the label I eventually saw the resizing blue squarelet.
I finally found the small resize squarelet tried moving it but this's the best result I got (no resize at all it just draw the dotted line and nothin change):
12-05-2024 08:31 AM
Try enlarging the structure in height until the label is not too near the top.
12-05-2024 08:45 AM
I fixed it... created another sequence, moved blocks from the old to the new one. Deleted the old.
12-05-2024 09:01 AM
I did a test, if you just search on the name and step through the findings with ctrl+g it'll mark the items so you can move or delete them.
12-05-2024 11:44 AM
Weird, these labels look like orphan subdiagram labels from ancient structures that were removed.
Even weirder, all these undeletable labels think they are the subdiagram label of the owning structure (functions of the parent structure appear when right-clicking these labels and one of them even resizes whit the structure). You can even make them change their owner by removing the structure without its content. It will automatically attach to the directly parent structure. Unknown LV feature? 😁
12-06-2024 01:28 AM
Unknown LV feature? 😁
It's not unknown... if you look for similiar topics you will found that someone has generated a bug report about it in 2019... maybe is has been fixed in newer LV releases but in older the feature is still present (legacy easter-egg feature).
12-06-2024 05:16 AM
Just an interesting observation: If you took the time and effort to move it to a new sequence structure, why didn't you just refactor it? That would've been the perfect time to do so.
12-09-2024 10:20 AM
Because refactoring it and keeping al the rest (that's a lot more code and it's pretty messy) will lead nowhere and anyway this problem could happen anytime and to anyone not just to me (or any other newbie) in case of refactoring.
As a matter of fact it has been elected to LV bug (or at least it looks like so).