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: 

Slider Control

Is there a way to have a slider control that when you let go of control it goes back to a certain value.  For example I have a two way directional valve where 0 V is reverse and 5 V is closed and 10 V is forward, so when you slide the slider up the valve operates in the forward position and once you let go the slider goes back to 5 V the closed position

thanks for any help
0 Kudos
Message 1 of 4
(2,958 Views)
Have you tried a search?

I need to make a snap-slider.
0 Kudos
Message 2 of 4
(2,954 Views)
Attached is an example, it uses a local variable to force the slider back to a value of 5 when the user mouses up on the control.  Might be a good starting point for you.

Cheers!
0 Kudos
Message 3 of 4
(2,949 Views)
thanks, i appreicate the help
0 Kudos
Message 4 of 4
(2,943 Views)