LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Why do front panel objects move when I rearrange the block diagram?

Am I missing something or is this a bug in Labview?  Sometimes when I rearrange objects on my block diagram (controls, indicators, etc.)  they also get moved on the front panel.  It can be very frustrating to have to realign everything.  I have started grouping items to make the fix easier but I don't understand why it happens in the first place.  I am using LV 8.2 but have experienced this problem with earlier versions as well.
Thanks
Dan
0 Kudos
Message 1 of 14
(5,208 Views)
How are you moving them, only on the diagram, not deleting and dropping right? I ask because I haven't noticed fp control movement when their associated diagram side representations are moved.
Putnam
Certified LabVIEW Developer

Senior Test Engineer North Shore Technology, Inc.
Currently using LV 2012-LabVIEW 2018, RT8.5


LabVIEW Champion



0 Kudos
Message 2 of 14
(5,204 Views)
i am not as old a LV-pro, but never had this behavior either.
what do you mean by "sometimes"? how the grouping affects it? is it occuring on all vis you work on?
-----------------------------------------------------------------------------------------------------
... And here's where I keep assorted lengths of wires...
0 Kudos
Message 3 of 14
(5,200 Views)
I am selecting several objects (e.g. a section of my block diagram code that contains controls, indicators, etc.) and dragging them (not deleting) to a new spot on my block diagram.  And this sometimes causes movment on the front panel.  I say sometimes bc I haven't lnked the phenomena to anything yet and it doesn't happen all the time.
 
Dan
0 Kudos
Message 4 of 14
(5,195 Views)

i cant possibly find a way to reproduce it. so it seems either you are somehow select block diagram items together with FP (altough i dont get how you do that, unless ctrl-x ctrl-v), or you have a LV bug. you say it occured also on previous versions of LV. is it on the same vi you work on, or did it happen on other vis as well?

maybe it is time to fill a bug report?

-----------------------------------------------------------------------------------------------------
... And here's where I keep assorted lengths of wires...
0 Kudos
Message 5 of 14
(5,167 Views)
I have had it happen on other VIs.
I am going to see if it happens again, and try to note some more details, if any. 
0 Kudos
Message 6 of 14
(5,144 Views)
Here is some unexpected behavior that may be related. I can get this to repeat in both 8.2 and 8.5.

  1. Open a new vi.
  2. On the front panel, create a Numeric control and a Boolean control
  3. On the front panel, create a Cluster, and put both the Numeric and Boolean controls in the cluster
  4. On the front panel, create an Array, and put the cluster into the Array
  5. On the front panel, expand the Array to show 3 or 4 elements
  6. On the block diagram, create a Property Node
  7. On the block diagram, Right-click the Property node and "Link to" Pane-Array-Cluster-Cluster
  8. On the block diagram, Select the Color Property for the Cluster
  9. On the block diagram, Attach a constant to the Cluster
  10. On the block diagram, Double-click on the Cluster Property Node to see the front panel
  11. On the front panel, change one of the Numeric or Boolean controls of element 3 or 4 to a different value
  12. On the block diagram, Double-click on the Cluster Property Node, and see the Array move!







Message Edited by LabViewGuruWannabe on 12-07-2007 05:26 PM

Message Edited by LabViewGuruWannabe on 12-07-2007 05:29 PM
Message 7 of 14
(5,118 Views)
It seems to happen with any array and any property node connected to the element itself (not the entire array).

I just tried the same thing with just an array of numerics, and it did it again. It seems to shift the front panel array relative to the element that was changed.

You don't even have to move the property node, so I don't know if this is the same issue.

B-)







Message Edited by LabViewGuruWannabe on 12-07-2007 05:42 PM

Message Edited by LabViewGuruWannabe on 12-07-2007 05:43 PM
Message 8 of 14
(5,113 Views)

Very nice.

Here is a set of simpler steps:

  1. Create a new VI.
  2. Create an array (any shape or size seems to be fine).
  3. Place a numeric in it.
  4. Create a property node for the numeric (this is important - it has to point to the element and not to the array).
  5. Modify the value of one of the array elements.
  6. Switch to the BD and double click the property node and it will move the array control.

___________________
Try to take over the world!
Message 9 of 14
(5,068 Views)
Argggg!!!

i got your magic tric going voodoo on me tonight:
a bunch of controls in a cluster. they are grouped.
by moving the control on the diagram they moved in the cluster frame, up to the point they were out of visible.
btw moving back the control did not bring them back in place.
figure: this is a cluster in a well defined tab control: cant expand it to find my controls...

this was in general a very bad Labview night: Lv crashed on me in average every 10 min.

-----------------------------------------------------------------------------------------------------
... And here's where I keep assorted lengths of wires...
0 Kudos
Message 10 of 14
(5,042 Views)