LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Timed Loop within a structure forces structure to grow, even when unnecessary.

If I put a timed loop inside a structure (stacked or flat sequence, for loop, while loop, event, or even another timed loop) then expand the inner timed loop horizontally within the existing bounds of the structure, the structure grows, even though there's already enough space to accommodate the timed loop's larger size.
 
Some details...
 
1. This only happens horizontally, not vertically. If I expand the timed loop in both directions simultaneously, the structure only grows in the horizontal direction.
 
2. If I disable Auto Grow for the timed loop, the problem goes away, but then of course the timed loop doesn't auto grow to accomodate stuff inside it- unless that stuff is another timed loop.
 
3. Disabling Auto Grow for the containing structure does NOT make the problem go away.
 
4. This behavior includes multiple nestings; if a timed loop is nested with a case structure within another case structure, both case structures expand.
 
5. Other structures, terminals and wires external to the enclosing structure are moved if their midpoints are beyond the edge of the timed loop being dragged. This happens even if the timed loop isn't enclosed by any structure. Again, this only happens horizontally, not vertically.
 
I'm using LabVIEW 8.5.
0 Kudos
Message 1 of 3
(2,758 Views)
Thank you for the bug report, and sorry for the inconvenience.  This was reported to R&D (4CTGR25W) for further investigation.
0 Kudos
Message 2 of 3
(2,745 Views)

An expansion of this bug:

Place a timed loop in a VI, place anything next to it, and something inside it. 

Turn on auto-grow.

Select the object inside and move it down with arrow keys to expand the loop, watch the thing you put next to it magically move!

(I came across this watching most of my block diagram spread away from the loop like it had the plague)

0 Kudos
Message 3 of 3
(2,649 Views)