LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Slide control autoscale??

How can I programmatically autoscale a slide control in LabVIEW 6.02 without manually reading out if the max value is smaller than the value to display and set the max value? I have found no property for autoscale or scale fit for slide controls but cannot imagine that such an important function is not included.
0 Kudos
Message 1 of 2
(2,700 Views)
> How can I programmatically autoscale a slide control in LabVIEW 6.02
> without manually reading out if the max value is smaller than the
> value to display and set the max value? I have found no property for
> autoscale or scale fit for slide controls but cannot imagine that such
> an important function is not included.

I don't know that I've ever heard this requested before, and after
thinking about it a bit, the request makes sense, but probably just as a
momentary action, or only zooming out the scales, but not zooming in.
Otherwise, the thumb would always be in the same place and the scales
would just change alot.

It is not built-in, but a subVI could easily be written to do this
whenever asked on any slide, given its reference and perhaps a par
ameter
to state the style of rescaling.

Perhaps someone already has a similar VI they would like to put on devzone?

Greg McKaskle
0 Kudos
Message 2 of 2
(2,700 Views)