LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Waveform Graph AutoScale Issue

Firstly, to give some context, my waveform graph plots a large line reading data from a spreadsheet. A FOR loop then runs and draws a new line taking in user input starting at 0 seconds. The user must adjust their input to follow that original large line plotted. However, since the dataset is very large and lasts 10 minutes, I need a way to zoom in to make it easier to follow. Turning AutoScale X off and manually reducing the maximum time value doesn't work because the graph doesn't move along once exceeding that manually set value. So is there a way to move along the X scale?

0 Kudos
Message 1 of 4
(2,073 Views)

You can set X scale min and max...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 4
(2,036 Views)

Or:

  • Enable the Graph Palette to have tools to zoom and pan the graph live.
    2019-03-11_10-52-14.png
    Also: Graph Palette Is Too Small or Display Graph Palette
  • Double-click the axis' min or max value while the program is running and type a new value you want to have. Press Enter at the end.
    2019-03-11_10-55-57.png
  •  

 


Ingo – LabVIEW 2013, 2014, 2015, 2016, 2017, 2018, NXG 2.0, 2.1, 3.0
CLADMSD
0 Kudos
Message 3 of 4
(2,013 Views)

Thanks for the answers guys. I discovered that you can programmatically change the range using XScale.Maximum and XScale.Minimum which is what I need. I'll throw it in my for loop to make a check for when the iteration exceeds the maximum to transition it to the next range.

0 Kudos
Message 4 of 4
(2,001 Views)