Hi, all.
I have a program that is plotting over 600,000 points for a plot.
The performance is fine when points are under 100,000(about).
But input many points into one plot, it shows something problom like this.
- Process use too much memories. ( When invalidate, increace memory about 10MB)
- Process use too much CPU.
- When move the cursor and the CPU maxes out immediately. Then after 1 second the cursor moves.
The program shows wavefile dataChunk2 points. If the wave file size about 2.5MB, it has over 640,000 points.
I use below code when binding the points.
1. Use AnalogWaveForm
byte[] soundData; // it contains the sound data points.
AnalogWaveform<double> analogWaveForm = new AnalogWaveform<double>.FromArray1D( soundData ); waveformGraph.PlotWaveForm(analogWaveForm);
2. Use SingleToneInformation
SingleToneInformation sti = new SingleToneInformation( soundData ); // soundData type: byte[]
waveformGraph.PlotY(sti.GetInputSignal(),0,1);
I am using laptop
-Windows XP
-Visual Studio 2005
-Measurement studio 8.1.0.256
-Core2Duo 2.0Ghz / 2G ram / ATI radeon x1300
Is something problom in my code? or is it known ploblem?
please give me a advise..
ps. I can't speak English very well, so it has many stupid description. ^^;;