LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Set y-axis amplitude on waveform graph to variable

Hi

 

I would like to be able to set the maximum and minimum values on the waveform chart's y-axis to a number that is defined by the user earlier in the program (in an earlier subvi) during run-time. I want to be able to use the "V to Torque" value and make that the maximum (and the inverse as the minimum) y-axis scaling on the graph. Is there any way to do this?

 

I have attached a screenshot of the relevant portion of the code. which currently only takes in the value into the graph and autoscales, which is not what I want.

 

Please note I am using Labview 8.6.

 

Thanks.

0 Kudos
Message 1 of 3
(3,271 Views)

Hi kimmett,

 

use property nodes of the chart to set Y scale min/max. Don't forget to switch off autoscaling before...

Best regards,
GerdW


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

Hi

 

I think that's it. Thanks!

 

If anyone else has the same problem, the property node I used was Y-Scale/Offset and Multiplier/Multiplier. I then had to right click the newly created node and change to write to input my variable.

 

Thanks again GerdW

0 Kudos
Message 3 of 3
(3,255 Views)