LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Creating a fixed range window on a graph

Does anyone know the best way to create a fixed range on the Y scale of
a graph. I don't want the full expected range of my test input always
displayed but a fixed range that moves as a window around the input
data as the y axis auto scales.
As an example my full range is say 0 to 1000. My input data slowly
varies over that range and I want the window to stay a fixed range of
10. As my data increases or decreases out of the window limits the
range just slides the window up and down to cover the input data.

Thanks for any help
bill.brandenburg@jhuapl.edu

0 Kudos
Message 1 of 2
(2,599 Views)
You just have to turn auto-scaling off. Right click on the Y scale and uncheck it, or right click in the middle of the graph and uncheck Y Scale>AutoScale Y, or right click, select properties, go to the Scales tab, select the Y-Axis and uncheck the Autoscale box. You can then set the min and max of the scale by entering new values on the front panel (just hightlight the text and enter something new) or use property nodes on the block diagram.
0 Kudos
Message 2 of 2
(2,592 Views)