LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

subpanel in tab problem: cannot click buttons

Solved!
Go to solution

Im running VI's in subpanels, and I have those in separate tabs.

For some reason I cannot click buttons when the subpanel is placed inside the tab -VI  is running correctly-

 

When I place the subpanel outside the tab it works fine. I'm probably overlooking a setting, who knows what to do?

 

Thank you

 

Maybe I should mention that the tabs are configured as "tab into content" and the buttons are highlighting when mousing over but I just cannot click anything.

Message Edited by _Faust on 03-24-2010 06:22 AM
0 Kudos
Message 1 of 3
(2,707 Views)

And Im this method to call a VI's reference and run it:

 

http://zone.ni.com/reference/en-XX/help/371361F-01/lvhowto/loading_panel_in_subpanel/

0 Kudos
Message 2 of 3
(2,700 Views)
Solution
Accepted by topic author _Faust

Ok problem solved, it was caused by sloppy programming:

 

I have buttons that allow tab select (5 of 'em).An event for a button click sets the page visibility for all tabs to off, except for the one selected. And here comes my fault:

I just put all those property nodes in the event case, causing them to execute in no particular order. While tabbing into the right tab, it caused for some reason not to function properly.

 

Using the error wires to first enable the visible page(pagevis property node) that is selected. Next making  the rest invisible and  finally using the 'tab control value' property node to tab into the page in this specific order makes it work like a charm.

 

Feel free to call me a dumbass 🙂

 

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