04-16-2018 10:41 AM
There isn't an easy, direct way of setting an alternate scale for a numeric control. There is for graphs and charts, but not numeric slides.
I have a need for a numeric slide to sit next to a corresponding strip chart. The chart has log scale with auto-divisions. The purpose of the numeric is to show the current value being measured, as opposed to the historic data of the chart. Just a different visual aid for the technician. See below...
I'm trying to come up with some clever way to rescale the numeric so that it "looks" log, even though it's a linear control.
Also realize that it will be placed next to the strip chart like this:
So it's value needs to correspond with the strip chart values. Another trick would be to get the number of divisions in the numeric to correlate with those of the strip chart, along with their labels.
I thought of switching over to a ring control, since there's some customization possible with index labels. But then you can't get the resolution when you set the value.
Is any of this possible?
Solved! Go to Solution.
04-16-2018 02:25 PM
I should add that I found this similar thread, but it seems to me like a very last resort.
04-17-2018 02:00 AM - edited 04-17-2018 02:03 AM
Maybe too simplistic, but... do you actually need the scale of the numeric control? If it is placed just next to the strip chart you can simply hide it! Just place a numeric slide with proper scale settings and set its value to the logarithm of the measure shown on the stripchart:
(here I have set the scale of the numeric to 0÷3)
If on the other hand they are not so close, the only workaround I can imagine is to have a dummy graph next to the numeric slide used only to show the Y-scale. Again, hide all elements of the numeric and set the logarithm on it.
04-23-2018 11:44 AM
Nice solution, Roberto!
In my case, I'm dealing with vacuum pressures, so the log scale of my strip chart is E-5 to E-12, max to min. For my numeric control, I set it up for exponent display with -5 to -12, max to min, double type. The benefit of this is that I can keep the divisions visible and it's still pretty clear:
Then, as you pointed out, I use a log10(value) and simply display the logarithmic value. This hadn't occurred to me before. Thanks.