I autoscaled x axis and it works for some time (that is, start time is constant, (that is, graph is not moving)). But after some time (say half an hour), when I see the chart, the start time keeps changing. I won't be able to figure out when my VI actually started by seeing the graph.
are you still using charts or do you use graphs? I told you before to use proper LabVIEW wording!
In case you still use a chart: it only maintains a limited history…
There are reasons why I suggested to use graphs!
use GRAPHs instead of CHARTs! (As I told you one week ago…)
For clarity's sake:
The LabVIEW charts operate like strip charts. If you've ever seen a real strip chart, you'd know exactly why your graph is "moving".
so you really use CHARTS. Please use correct LabVIEW wording as there are huge differences between CHARTs and GRAPHs!
As said before: use graphs instead of charts. They offer much more abilities with the minor overhead of having to collect the data in your own array…
Open the example finder, there is an example demonstrating how to use charts AND graphs!
When you say that charts are better and offer more ablities, is there a way to have the stack plots feature on a graph? that is really the only draw for me to use charts, but i would much rather use the options that a graph provides (like cursor control and marking)
New problem! Whether I use a chart or a graph, I am not able to set the system time onto it (Even when I select system time format through the properties). I have averaged the waveform output and this averaged value is connected to a chart (or a graph).
as usual: mind to put attach VI (or a simplified example VI)?
what time information do you want to display on your x axis when you read 250 samples per DAQmxRead and then calculate the mean of all those samples?
Why don't you display all samples in your chart? (Why do you still use a chart instead of a graph?)
Use waveforms as they already contain time information! See attachment…