02-19-2013 03:15 PM
I have a situation where I want to use a slider bar to control a motor that I don't want to run below 35%. Is there an easy way to have the scale drop from 10 to 3.5 and then a small dead band and then finally zero or off? I'm not seeing it, but thought I might ask.
Thanks!
Chad
02-19-2013 03:29 PM - edited 02-19-2013 03:30 PM
Chad,
I do not know of any direct way to modify the slider itself that way. However you might get the functionality by adding In Range & Coerce? and a case structure. The True case is wired straight through.
Lynn
02-19-2013 03:30 PM - edited 02-19-2013 03:31 PM
Actually, the slider control can have an array of arbitrary values passed to its "scale" property, then a little "post control" filtering with a sub-vi that limits the lower value to 35% or 0 if lower than that as Lynn is showing.
02-19-2013 03:38 PM
Putnam,
I did not know you could pass arbitrary values to the scale. Thanks.
Lynn
02-19-2013 03:48 PM
Thanks for the responses guys/gals... I've already done the back end I was just trying to figure out the aesthetics of the front end. Just wanting my UI to look right... Maybe I'll see about playing with a copy of the slider bar control vi.
Thanks!
Chad