LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to get total number of slider in a meter

Solved!
Go to solution

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?

 

 

Arnold
0 Kudos
Message 1 of 6
(2,395 Views)
Solution
Accepted by topic author mugger

 

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

0 Kudos
Message 2 of 6
(2,388 Views)

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.

Message 3 of 6
(2,366 Views)

Hi Altenbach,


No property available to make specific slider visible/invisible Smiley Sad

and im able hide the slider by setting "Active Slider", "Slider Colors" properties.

 

I am using LV2009

 

Ganesan Kani


0 Kudos
Message 4 of 6
(2,355 Views)

Yes, set them to transparent. That's what I meant.

0 Kudos
Message 5 of 6
(2,346 Views)

Thanks a lot, merry christmas!

Arnold
0 Kudos
Message 6 of 6
(2,327 Views)