07-29-2009 02:55 PM
Can any one help me. Iam trying to hide all the indicators in the front panel(in to a button).I have several Inputs of data,and each data is connected to an indicator. But I want to hide this indicators for some time. If a button is clicked then all this indicators should be displayed. If i dont click the button then the indicators shouldn't be displayed in the front panel.However it should still store its respective Input data.
Thank you.
Shanth.
07-29-2009 03:54 PM
07-29-2009 04:12 PM
Hello Harlod,
Thanxs for your reply..But I really dont want to use the visible property node. I want to control the Indicators with a button like thing. When I hit a button it should display all the indicators.
Thank you,
Shanth.
07-29-2009 04:33 PM
shanth422 wrote:But I really dont want to use the visible property node. I want to control the Indicators with a button like thing. When I hit a button it should display all the indicators.
Well, to modify the visbility, you need a property node. This is all code, so you can do anything you want if a certain button is pressed, e.c. call a property node to switch visibility. Here's a quick example.
On a related node, you loop need a small or an event structure.
07-29-2009 05:06 PM
Hello Altenbach,
Is there any way that can we just place only one box for all the indicators. If we hit that box then display all the indicators. Or else dont display the indicators.
Thank you,
Shanth.
07-29-2009 05:13 PM
07-29-2009 05:22 PM - edited 07-29-2009 05:22 PM
Of course in this case you don't really need all these controls and indicators. Use arrays instead!
07-29-2009 06:53 PM
Altenbach,
I replaced the array with a single switch, but iam getting some kind of error. I dont want to use arrays because Iam using individual inputs in my code.
can u pls take a look at my vi once.
Thank you,
Shanth.
07-29-2009 07:01 PM
shanth422 wrote:I replaced the array with a single switch, but iam getting some kind of error.
I think you attached my VI again. Can you be more specific what kind of error you get, seems to work just fine here.