LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

waveform graph property node

Hi,

I would like a graph in my vi to be static in size. I would like the scales
to be the same every time, and if a waveform was too large to be displayed
full, the graph would NOT autoscale to fit the waveform.

I am not having luck setting this up in the properties, and I'm not sure how
to test this. If I set XScale.ScaleFit to zero, does this work? Context or
on-line help provides very little description on these properties.

Thanks,
Chad
0 Kudos
Message 1 of 3
(2,964 Views)
Hi Chad,
Uncheck "AutoScale" for both X & Y scales from graph's popups (if you want these settings all the time) or use Property Node > X Scale > Scale Fit (0).

Hope this helps
0 Kudos
Message 2 of 3
(2,964 Views)
Chad,
The best way to keep the scales the same size is to disable auto scale property on the graph, by right-clicking on it.
However, if the data on the graph increases beyond the maximum on the scale, you will not be able to see that data, unless you set the autoscale ON on the graph. This will increase the scale as the data increases, but if the number gets too high, the graph will shift so that entire large number on the scale can be displayed.
You can insert the parameter "EnableAutoScales=False" into LabVIEW.ini file. With this property disabled, and autoscale set to ON on the graph itself, the graph will not decrease in size when the scale gets too large.
This property is not intended to work with duplicate scales.

Zvezdana S.
National Instrument
s
0 Kudos
Message 3 of 3
(2,964 Views)