12-12-2012 12:51 PM
Hello guys,
Is there a way I can manually control the scale of Y axis using a DIAL or KNOB for waveform graphs ?
Please see attached VI.
Thanks.
12-12-2012 01:22 PM - edited 12-12-2012 01:27 PM
12-12-2012 01:25 PM
I accept that property node works. But the waveforms I am expecting doesnt have any fixed Y range. Sometimes it may be on 4300 otherwise on 10,000 range. So each time I cant keep changing the knob range. Please find the attached Vi to see what I tried.
12-12-2012 01:28 PM
What if the minimum and maximum range automatically adjusts itself, just like how we have autoscale enable. And then I can manually and easily control the the range of Y I want. Right now the waveform is out of range from the given values, enabling the autoscale brings it into position.
Just like a oscilloscoe,
12-12-2012 01:32 PM - edited 12-12-2012 01:33 PM
then autoscale the graph with wiring the Y value to the knob maximum property node with an additional value for some leg room.
12-12-2012 01:33 PM
Oh we can do that! ... Let me try. Thank you
Abhi
12-12-2012 01:35 PM
Last question, how can I get the Y value from the autoscaled graph ? Is that also using property Node.
12-12-2012 01:42 PM - edited 12-12-2012 01:50 PM
get it from your data array......use "array max & min" function, take the max and wire the knb property node max value, with some added leg room value.