LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

hiding other indicator to show another indicator

i want to hide another indicator to show other indicator.. how do i do that? currently in FP i have 3 controllers, and in BD i want the 3 indicators to be place in 1 place. stack to each others. Let's say i press button 1, indicator 1 will show up, while the rest indicator is hidden.. can help me on this? i just started using LabView, therefore i am still new with all controls inside..

Message Edited by mahe on 04-22-2008 11:58 AM
0 Kudos
Message 1 of 9
(3,709 Views)
why not just use your controls to drive a case structure and only have one indicator?
0 Kudos
Message 2 of 9
(3,707 Views)
but for each controllers will have different caption for the indicators.. if i controls inside case structure, won't it will be a problem? bcause it can differentiate which controllers for which indicators
0 Kudos
Message 3 of 9
(3,704 Views)

You can superimpose the indicators (one on top of the other).  As long as they are the same size for esthetics reasons.

You then use the property node to make it visible / invisible  (Visible = TRUE makes it visible, FALSE makes it invisible).

You can set the boolean when the selection is made with the control.  Simply make sure that you do not have two TRUE conditions (or 2 FALSE).  😉

You can have customized text for the caption, as a matter of fact, you can programmatically change the caption (not the indicator name  - for obvious reasons).

The caption can be changed using the same property node.

Hope this helps,

RayR

Message 4 of 9
(3,699 Views)
will try. thnks
0 Kudos
Message 5 of 9
(3,697 Views)

From what I can gather, you have three separate controllers, and you want an indicator for only one of them at a time?  Why not just show all three at all times?  It seems like it would be safer, and it would certainly be less hassle.  However, if you really want to make only one control visible, you need to use the "visible" property

 

edit - Ray, you're too fast!



Message Edited by JeffOverton on 04-22-2008 01:14 PM
Message 6 of 9
(3,696 Views)
I got my running shoes on today 😉
0 Kudos
Message 7 of 9
(3,691 Views)
ups.. i found a new problem.. currently i am using tcp/ip to connect my server and client.. and i am very confused on how to do with the visible thingy.. in my client side,, i put a first nob numeric control.. so in server side, i put a slider to react to the first nob numeric control.. while i change the value of second nob numeric control, i want the first slider to be invisible in server side, and second slider will become visible
0 Kudos
Message 8 of 9
(3,667 Views)

Can you post an image of what you are describing?  I'm not sure I followed what you wanted to do with the slider & knob..

The image can be a screen capture. You can write / draw on it using MS-Paint.

RayR

0 Kudos
Message 9 of 9
(3,637 Views)