Move the controls the façade of a VI. How do you get a reference to a whole "grouped" controls?

Fundamental problem (boring, if not disastrous - but common - at least for me):

When you try to two sktick different screws together and you copy the block diagram from one to the other, it sticks all the controls in the middle of nowhere.  Then, you will need to spend about 10 minutes by dragging controls to the screen from one end of the diagram to another - sometimes more than 15 screens.  Surely, there must be a better way?

* Either by the way, you might think that labview would have this kind of parameters in the 'properties' of the control in the right click menu - but not joy.

I guess the obvious thing is that you can write a VI that will get a reference to a particular control, then say together, that is the position (x, y) to zero.  The only thing is that generally, there will be a selection of controls, and often they will be organized nicely - after bring them to zero that you don't want to rearrange their new.  I tried grouping, controls, but then the problem is - how to get a reference to a group of controls.  If you move one of them it does not keep the spatial arrangement.  At this point, I lost - and easily spent more time that should fix this problem.

Any thoughts?

If I understand you correctly, when you copy the block diagram of the second VI in the first, the controls of the second end of VI place far-field on the left on the front panel of the first, correct?  I think that these added controls will maintain their relative positions between them so you should be able to find them all as a group in the left field. Then it's all just a matter of how to get them enmasse to the rest of the controls on the front panel. There are some easy ways to do this. There is a button on the toolbar at the top of the front window that allows objects to resupply/group/dissociate the façade. You can select all the orders/lights out in left field and ' ' together them. (As an alternative, you can also drop them all on a tab control that will serve as a container for them). Then you select this group and with selected scroll back on to the existing façade and search and select (shift) ALSO a control/indicator to group existing too. Then with the TWO existing of the selected control and the new group (or a tab with the new group control) selected using the ALIGN buttons to quickly bring a corner of the new group in the alignment of the old control. At this point, you can unlink the news and move it where it should be.

Tags: NI Software

Similar Questions

Maybe you are looking for