LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

clearing time chart resets time also, but I don't want that

I've tested this under both LV2011 and 2013, and the problem is seen in both versions.

When I set up a chart with absolute time on the x-axis, and after some time have filled the

chart with data, right-click and select Clear Chart, the chart is cleared, indeed.

However, the problem is that the tims-scale is also reset, so when new data continue

to be displayed, the time scale is wrong, cause it restarts on the time the chart originally started

(before clear). How do I solve this problem ?

Martin

0 Kudos
Message 1 of 3
(2,708 Views)

Hi Martin,

 

don't use a chart then…

 

A chart doesn't display actual time values on its x axis. It just displays the number of the data point!

Best regards,
GerdW


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

You could build a waveform to write to the chart.  The waveform would include a timestamp that the chart would then use.  If you just wire up and array or scaler to the chart, then the time just defaults to midnight Jan 1, 1904.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 3 of 3
(2,695 Views)