04-19-2013 07:06 PM
Hello all,
Phew back to labview after a long ternious work with electronics and mathematica.
Question : How can I change the appearance of any indicator or control programitically. I have a button on front panel which when clicked should display the indicator or not.
How can I do that ?
Thanks
Solved! Go to Solution.
04-19-2013 07:15 PM
Create a property node and write a true or false to the 'visible" property whenever the visibility should change.
04-19-2013 07:30 PM - edited 04-19-2013 07:32 PM
Thank you. It has been very helpful.
04-19-2013 07:40 PM
Why am I not able to reproduce the same effect with data[64] array ?? I use the same method of provoking visible property node via a boolean button ; in this case a slide button called "show readings" ... Why is this happening ?
04-19-2013 08:36 PM - edited 04-19-2013 08:41 PM
Attach your VI. There is no reason I can see why it wouldn't work. It must be related to something we can't see in your small piece of screenshot.
04-19-2013 09:38 PM
Please find the attached VI
04-19-2013 09:49 PM - edited 04-19-2013 09:49 PM
Since you placed the property node inside the DSP case, it will only work if that case executes. Does it?
Why are you using a local variable instead of the terminal directly?
Is this a subVI? How are you actually running this? If this is a toplevel VI, you should place a parallel loop with an event structure to toggle the visibility independet of the state of the main loop.
04-19-2013 09:50 PM
I had to delete the broken code since I don't have your FPGA nodes. Then I was able to run your VI just fine.
How are you running your VI? You don't have any while loop. Are your running it as a subVI in another VI which has a loop? You don't have any terminals attached to your connector panel.
If you haven't set your selector to DSP before running your VI, then your code that sets the visibility of the control won't run.
04-20-2013 01:22 PM
Yes thats correct. It depends purely on case.
Thank you. @ altenbach and RavensFan