LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Waveform Chart - How to set X scale time.

I have a Waveform chart (v6.1) and I want it to display 30 seconds of data. What is the correlation between the Time History buffer and the Time inputed on the X-scale. The X-scale format is set to Relative Time. I set the initial time to 0:00. The input data is coming in at 20 samples/sec also. How do I set up the chart to show only 30 sec of data.
0 Kudos
Message 1 of 4
(5,114 Views)
You can turn Auto scale off and set the left value to 0 and right value to 0:30.
A second method is to set the chart history length to 600 (20 samples per second * 30 seconds). Setting the chart history length can only be done at design time.
Waldemar
Waldemar

Using 7.1.1, 8.5.1, 8.6.1, 2009 on XP and RT
Don't forget to give Kudos to good answers and/or questions
0 Kudos
Message 2 of 4
(5,113 Views)
I tried the suggestion, however the time the data scrolls is more like 47 sec. We have a similar challenge on another vi when trying to show only 60sec of data on a waveform graph. It looks like we'll settle for something that provides at least 30sec of data.
0 Kudos
Message 3 of 4
(5,112 Views)
Make a property node for the chart and set the Xscale.Minumum = 0 and the Xscale.Maximum = 30.0. This should be 30 seconds.
0 Kudos
Message 4 of 4
(5,104 Views)