LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Visibility of buttons on a Tab control?

Hi list,

I have a series of buttons (set on the latch-when-released action) and
some decorations and text next to them. I need to show and hide
everything at certain frames in a sequence. For instance I want to hide
them (and just have a blank screen) while a wav file is playing, then
show them until one of the buttons is pressed, at which point they
should be hidden again for the next wav file.

To do this I put everything on a tab control, with just one tab, and
made this transparent. Then used a property node to show and hide the
tab. It works but the problem is, when a button is pressed, that button
stays visible when everything else has been hidden. Does anyone know why
this happens, or how to get around it?

Thanks for your
help

Jody

--
Jody Ghani

Research assistant Email: jg@acoustics.auc.dk
Sound Quality Research Unit Phone: (+45) 9635 7509
Department of Acoustics Fax: (+45) 9815 2144
Aalborg University
Fredrik Bajers Vej 7-B5 http://www.soundquality.dk
DK-9220 Aalborg Øst http://www.acoustics.auc.dk
0 Kudos
Message 1 of 3
(2,682 Views)
Just did the same thing and the button disappears as well...nothing wrong. I'm using LV7, what version of LabVIEW do you use?

What type of tab control do you use? How do you read the button, by wire or by event?

You could try having two tabs and instead of hiding the tab just switch to the empty tab...but as I said it should work find the way you do it.
0 Kudos
Message 2 of 3
(2,682 Views)
I'm using 6.0.3. Type of tab control? I didn't realise there are
different types - it's just the one in 'Array & Cluster'. I'm not sure I
understand (quite a LabVIEW novice) what you mean by reading by wire and
reading by event. I have wired all the buttons to a build array inside a
while loop, and wired the output of that array to an Or Array Elements
so the loop runs until one button is pressed.

I'll try with two tabs, that makes some sense. Thanks for your help 🙂


Mads wrote:
>
> Just did the same thing and the button disappears as well...nothing
> wrong. I'm using LV7, what version of LabVIEW do you use?
>
> What type of tab control do you use? How do you read the button, by
> wire or by event?
>
> You could try having two tabs and instead of h
iding the tab just
> switch to the empty tab...but as I said it should work find the way
> you do it.
0 Kudos
Message 3 of 3
(2,682 Views)