LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

control cluster

I have a selector "Type" and use it to select one of three tests. Each test uses one or more numeric controls. I want to be able to place the numerics in a neat column depending on which test is selected. I have attached my vi to demonstrate how I want it to look for each test. I don't like using property nodes "visible" and "invisible" since my real application will be a selection of 5 tests with a combination of up to 9 numeric controls. They will be large custom controls (for a touchscreen) and two of the tests use controls 8 and 9 only. This puts the numeric control a good distance away from the test control and it doesn't look very good. Thanks in advance.
 
Paul
7.1
 
 
PaulG.
Retired
0 Kudos
Message 1 of 6
(3,000 Views)
You could use a Tab control on your front panel, each page would represent a test. Use the Ring control input into the Tab control indicator to select the different pages. Under properties for the Tab control you can hide the page selector so only the ring control can be used to change the pages.
Andrew Alford
Production Test Engineering Technologist
Sustainable Energy Technologies
www.sustainableenergy.com
Message 2 of 6
(2,990 Views)
I have attached an example vi performing my explanation.
Andrew Alford
Production Test Engineering Technologist
Sustainable Energy Technologies
www.sustainableenergy.com
Message 3 of 6
(2,991 Views)
If I understand correctly, you want to use the same controls in different orders to feed information to different tests.

It looks like you will have to use the property node for Visible and the property node for Position.  You can move any VI anywhere on the screen using the Position property node. Keep a list of which test needs which controls and move the first control to start position (x,y), the second control to (x, y + 20), third control to (x, y+40), etc. Then make those ones visible.

I have included a VI that sort of does that.

     Rob
Message 4 of 6
(2,986 Views)
          even easier than that,  you can use the "page labels display" of the tab control instead of the enum...
0 Kudos
Message 5 of 6
(2,984 Views)
Thanks everyone! I think either of these solutions will work.
 
Paul
PaulG.
Retired
0 Kudos
Message 6 of 6
(2,958 Views)