Hello,
I am using a colorgrid to plot a two dimensional fft.
The plot changes as follows:
1.) The oldest line is removed.
2.) All the lines are shifted down by one position
3.) A new line is added.
At present I achieve this as follows:
Step 1. Remove all series
Step 2 Add a scColorgrid
Step 3. Process data (remove oldest line shift down and add newest line)
Step 4. Add data to plot
step 5. Repeat from 1
This works OK but flicker occurs.
Is there a way to achieve a better result?
I have attached a sample appplication in Visual C++ Visual Studio 2008.
Regards
JB
Waterfall Display
Waterfall Display
- Attachments
-
- test.zip
- (485.1 KiB) Downloaded 539 times
Re: Waterfall Display
Hi Jacques,
I can't see any flickering. This will probable be due to the amount of data that is redrawn each time and maybe related to differences between our machines.
I can't see any flickering. This will probable be due to the amount of data that is redrawn each time and maybe related to differences between our machines.
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: Waterfall Display
Hello,
Do you have any suggestions oon improving the speed of the display?
Regards
Jacques
Do you have any suggestions oon improving the speed of the display?
Regards
Jacques
Re: Waterfall Display
Hi Jacques,
Well, I think it's not necessary to remove and recreate your series each time the timer is called. You could create it one time and then clear it if you want. And then you won't need to set its properties each time, only the values will be cleared.
And of course, the 500 and 25000 loops, also in the timer call, have something to say in your application's performance.
Well, I think it's not necessary to remove and recreate your series each time the timer is called. You could create it one time and then clear it if you want. And then you won't need to set its properties each time, only the values will be cleared.
Code: Select all
m_colorGrid.Series(0).Clear();
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |