12-16-2010 10:45 PM
I'm now using the meter control objects, I added 4 needles/sliders when the VI is offline, when I clicked run, Labview no longer lets me add more needle, so the needle control is not dynamic, there are several things I need to do dynamically which means let computer find and make decisio during running:
1. Find out how many sliders are on the panel?
2. Add/remove one of sliders?
3. Redistribute all sliders?
I'd like to use property node to get this done, but I didn't how. Any help?
Solved! Go to Solution.
12-16-2010 11:01 PM - edited 12-16-2010 11:09 PM
we can't add needle/slider to the object during VI runtime.
your requirements 1 and 3 can be done using the property node..
Use the "Digital Display[]" property to get/set the slider value.
Ganesan Kani
12-17-2010 01:19 AM
Create your meter with the maximim number of sliders you possibly need, then hide (property:visible) as many as you want to simulate fewer sliders.
12-17-2010 02:45 AM
12-17-2010 03:03 AM
Yes, set them to transparent. That's what I meant.
12-17-2010 06:53 AM
Thanks a lot, merry christmas!