ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Custom slider control

Is it possible to make a custom slider control that behaves different from the nornal slider?
I want to have a slider that can accept both negative and positive values. (i.e. go from -10 to 10)

But, I only want to see the slider fill everything up from 0 to the actual value supplied to the slider control.
So instead of filling from the left or right I want to have a slider that fills from the middle to the supplied value.

Any ideas on how this can be implemented in LabVIEW?
0 Kudos
Message 1 of 4
(3,439 Views)
Someone posted a similar question before. I believe the solution was to have two sliders touching at the zero value and writing the code to control them appropriately. Maybe whoever wrote the code originally that I remember seeing will post it again.
Randall Pursley
0 Kudos
Message 2 of 4
(3,430 Views)
I think this may work for you. I have two pointers one is invisible and set at zero. The other fills to that point depending on the value it presents.
Randall Pursley
Message 3 of 4
(3,425 Views)
Thanks, that the solution is was looking for !!!
0 Kudos
Message 4 of 4
(3,407 Views)