LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Can insert LED on top of tab control?

Hi. Because there are many windows to be used and there are no places to put them. Therefore I use the tab control. And I would like to add each LEd to each tab. When the tabs are in a single row, its seems no problem as the LEDs remain  as the tabs are changed. But when the tabs are in more than one row with different sizes, the Leds cannot remain in the same tabs. How do we sove this problem?
 
Clement
 
0 Kudos
Message 1 of 7
(3,209 Views)
Why are you using the LEDs?
Are you trying to mark the active page? If so, there is no real need for that, because you already see the active page.
A different approach to this would be enable multiple colors for the tab control (Right click on the tab and select Advanced) and to use property nodes to control the colors of the individual pages.
You could also use property nodes to control the positions of the LEDs, but that is really not recommended.
If you need any more help, tell us what your goal is. Maybe we can find some other solution.

___________________
Try to take over the world!
0 Kudos
Message 2 of 7
(3,199 Views)

Hi,

That part of the TabControl is not intended to place objects, you can see that your LED's are not placed in the tab, because when you move the tab, led's remain on the same place.

What do you need these led's for?

Can's you do the same with, for insntance with enabling, disableing the tab pages?

Hope this helps,

Paulo

0 Kudos
Message 3 of 7
(3,199 Views)

Well you see, there are test windows in each tab. Each LEd will be lit in red as failed and green as passed. And basic test page will be the first test to proceed, After that, the next tab will be next test to proceed. Any failed test will be the last tab to show up. As for the previous passed test tabs, the LEd will be lit in green and tabs will be hidden behind .Then we will know that all tabs are passed. Bu when I need to look at the readings in the previous tests and then back to the failed tab, i may not be able to recall which failed tab and have to open every tab to look for failed readings.

As for coloured tabs, Looks like this is only an option. Is there no other way to do that?

Clement

0 Kudos
Message 4 of 7
(3,187 Views)
Instead of trying to see  the final verdict  on tab "mounted" LEDs, why not simply have one more tab called "Verdict" and populate it with the required LEDs  and at the end  of all tests show this tab and proceed as required ? That  Verdict will have Red / Green LEDs referring to either failed or passed tabs.

Raghunathan

Message Edited by Raghunathan on 07-04-2005 08:11 PM

Raghunathan
LabVIEW to Automate Hydraulic Test rigs.
0 Kudos
Message 5 of 7
(3,185 Views)

One additional thing to consider is whether a tab control is really the right way to be managing things. If you need more tham one row of tabs you should be thinking of some other control technique--like a menu with screens appearing in a subpanel, for instance.

One of the neat things about LV is that it will tell you if you are on a deadend track design-wise. If the code starts getting so complex you have a hard time remembering what everything is doing when you are looking at the code, you have a problem. For myself I enforce this view by consciously making no effort to memorize my code. If I can't understand it by reading it--I know I have problems.

Mike...

 


Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 Kudos
Message 6 of 7
(3,176 Views)

Here is an old thread talking about an image in the tab section. However it can't be changed while running the program. I'm not sure if anything has changed in newer versions.

 

http://forums.ni.com/ni/board/message?board.id=170&message.id=62303&requireLogin=False

0 Kudos
Message 7 of 7
(3,172 Views)