06-22-2011 04:32 AM
Hi,
I have some problems with Plotting/Appending Data to my Plot. Both methods does not work properly.
I'm reading data from a Tdms File. This are about 17 Groups with 2 Channels (x and y) per Group. Each Channel contains 73860 values. Getting the data works fine.
After loading the Data I want to append the Data. So I simply create a new Scatterplot add the X and Y Axis and Append the Data to the new Scatterplot.
Then I add the Scatterplot to the Scattergraph.
After loading and appending the data I get this.
As you can see each Plot begins at a time of 01.01.0001. When I scroll left and zoom in I can see my values.
The strange thing is that this is not on every plot.
When i limit the appended data with
scatterPlot.PlotXYAppend(xValues, yValues, 0, 20000);
Everything works fine but I have only 20000 of 73860 values.
What I am doing wrong?
Greetings Markus
06-28-2011 04:49 AM - edited 06-28-2011 04:50 AM
Hi Markus,
can you please post a TDMS example file with one group, or a little example fo the code?
06-30-2011 03:30 AM - edited 06-30-2011 03:32 AM
Hi,
I found the Bug. After checking the values in the Tdms File I found some values with the Date: 01.01.0001.
So there is no Problem with the Graph itself!!!
Thanks for the help!
Regards Markus |