LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

control for scaling axes of waveform graph

Hi,

does anybody know if you can create a control on the front panel for scaling the axes of a waveform graph? I think of a box on the front panel where you check autoscale and if it isn't checked that you then have to enter values for minimum and maximum.
I know that you can change the setting by clicking right mouse at the waveform graph, but I would like to have a control as I don't operate the VI myself.

Thanks.

Steffi
Message 1 of 5
(2,985 Views)
Hi!
   I would have done it setting some property on Graph's property node, but I didn't found the right property for autoscale feature.  To be quick, I made to set Y axis scale style.  I also apologise for naiveness of my example VI, but I spent really few seconds in building it.

   Hope this can lead you to the right way....
  
   Have a nice day

graziano
Message 2 of 5
(2,982 Views)
Hi Graziano,

thanks a lot for your help. It works for the minimum and maximun, but I also didn't find the autoscale-option at the property node. Maybe you find it another time or someone else knows where it is?

Would be great!

Thanks again,
Steffi
0 Kudos
Message 3 of 5
(2,976 Views)

Try the "Scale Fit Property". You should find it in Properties -> Y Scale -> Scale Fit

Message 4 of 5
(2,972 Views)
Yep,  that works!

Thanks a lot!

Steffi
0 Kudos
Message 5 of 5
(2,964 Views)