LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to add a control to a Tab

Solved!
Go to solution

Hello, thanks for reading my question.

I've been restling with this for several hours. I'm just trying to modify one of the samples provided in LV2014.

1st I can add a control, from the controls window, to a tab similar to the original controls as you can see from Ref[1], I added the extra and gate to AND Boolean Y & Z, tested it and it works fine. This seems to work on any tab, in other words I click the tab I want and select a control I want an it works fine.

2nd I want the control to actually look the same, refer to Ref [2]. I could not figure out how to copy and past the orignal control in the UI panel but was able to copy and paste the control in the block diagram. However, the control is not associated with the tab and is it should be a simple mater of draging on to the active tab but not!

 

Also is there some explaination as two why Boolean z, the one I dragged onto the tab looks different than Boolean Y in the block Diagram window? Is it because the Boolean Y was customized?

 

 

Adding control to tab.jpg

0 Kudos
Message 1 of 27
(4,582 Views)

Drag it out of the area of the tab control.  Then drag it back on.

 

It is actually not within the confines of the tab control, but laying over top.  Dragging it off and on will cause it to be placed within the tab when you drag it back on.

0 Kudos
Message 2 of 27
(4,571 Views)

If it was that easy I would have already done that one, If I grabe the control that is sitting at the top, i.e. the one I want "Ref 2" and attempt to drag it anywhere is does not move at all. It will not drag anywhere.

 

Now that I have closed and re-opened the project Boolean Z is also in lock down it won't move at all either. Basically I want to swtich Ref 1 and Ref 2

0 Kudos
Message 3 of 27
(4,559 Views)

It might be sitting underneath the.

 

If you can select it, try windowing it.  Then try the Reorder command from the toolbar to bring it to the front.

0 Kudos
Message 4 of 27
(4,547 Views)

I can select it but again it does not move, will not drag, when I select it the little bubbles show up around it's outline so I know it is being selected but even without that I selected the text that was there and moved it out of the way with no problem.

 

The really dumb thing is I not only moved the text out of the way but I moved the text on to the "Booleans" tab with no trouble at all, exactly the way draging the control should work. 

 

I did verify the text work by clicking on another tab and the text disappered.

 

To re-itterate I grabbed the text that states "Overview: Demonstrates how..." moved it to the tab Booleans, clicked on Array of Booleans and the texted "Overview: Demonstrates how..." disappears which shows it automatically attached to the Tab I set it on called Booleans..

 

Unfortunately the controls don't seem to work the same way

0 Kudos
Message 5 of 27
(4,535 Views)

I see what you are working with is an example.  I went and found it and tried to do the same things you were doing.  I didn't see any problems.

 

Is it possible you hit the Lock menu choice within the button on the toolbar?

 

The reason the booleans look different is that the one you dropped from the palette with the green LED is from the modern palette.  The ones already in the VI are from the silver palette.

 

I suggest that you just close up the VI and start over again using the example.

0 Kudos
Message 6 of 27
(4,530 Views)

The previous post duplicated itself.

0 Kudos
Message 7 of 27
(4,529 Views)

Yeah I suspect an accidental lock.  I can think of no other reason that a control during edit time can't be moved.  Well that or it is in a stricted type cluster, but that is not the case here.

 

Post the VI and we can see if the problem occurs on other machines.

0 Kudos
Message 8 of 27
(4,518 Views)

I would say "potentually" except I can find no such menu. If I right click the button there is nothing that states to lock or unlock, I've tried properties and ever single menu selection, if I delete the botton and re add it it becomes locked as soon as I set it down.

0 Kudos
Message 9 of 27
(4,499 Views)

Don't right click the boolean button.

 

Click on the button on the toolbar where the group, lock, and reorder controls are.

 

In this image, the two booleans were both selected and locked and now have a border that looks like this when selected.  Now that they are locked they cannot be moved until I go and unlock them.

 

0 Kudos
Message 10 of 27
(4,496 Views)