Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

ScatterPlot PlotXYAppend Problem?

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.

 

Scatterplot.jpg

 

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.

 

Scattergrap2.jpg

 

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

0 Kudos
Message 1 of 3
(3,666 Views)

Hi Markus,

 

can you please post a TDMS example file with one group, or a little example fo the code?

best regards
Alexander
0 Kudos
Message 2 of 3
(3,648 Views)

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
0 Kudos
Message 3 of 3
(3,634 Views)