07-30-2014 06:06 AM
Hi
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.
07-30-2014 06:10 AM - edited 07-30-2014 06:16 AM
Hi kdm,
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!
07-30-2014 06:12 AM
Hi Gerd,
Sorry for the wordings. I use charts.
07-30-2014 06:12 AM - edited 07-30-2014 06:16 AM
07-30-2014 08:27 AM
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". 🙂
07-30-2014 10:12 AM
@GerdW wrote:
Hi kdm,
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)
08-01-2014 01:48 AM
Hi Gerd,
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).
08-01-2014 01:51 AM
08-01-2014 02:32 AM
Hi Gerd,
I have attached a simplified vi.
08-01-2014 02:44 AM
Hi kdm,
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…