I'm plotting waveform data every 5 msecs. If the Y axis is not visible a single CPU can handle it quite easily. If I make the Y axis visible, CPU usage approximately doubles. Is this a bug or a feature?
Many Thanks.
Adding visible Y axis dramatically slows fastline series.
-
- Newbie
- Posts: 13
- Joined: Thu Jun 05, 2008 12:00 am
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Anaesthesia,
Could you please try setting axes as suggested in the Real-time charting article here and check if that improves your application performance?
Thanks in advance.
Could you please try setting axes as suggested in the Real-time charting article here and check if that improves your application performance?
Thanks in advance.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
-
- Newbie
- Posts: 13
- Joined: Thu Jun 05, 2008 12:00 am
Dear Narcis,
Thanks for your prompt reply. Doing what you say really doesn't do much. (Although not all the calls mentioned are available in the dotnet version.)
I'm not sure how to attach the images of CPU usage in order to show you, but basically on a dual quad-core xeon system running under XP with SP3, the thread uses over 90% of a single CPU's time when the axis is turned on and abou 50% when it is turned off.
The work-around is to draw the axis scales as a background image.
I hope this helps,
Yours Sincerely
Anaesthesia
Thanks for your prompt reply. Doing what you say really doesn't do much. (Although not all the calls mentioned are available in the dotnet version.)
I'm not sure how to attach the images of CPU usage in order to show you, but basically on a dual quad-core xeon system running under XP with SP3, the thread uses over 90% of a single CPU's time when the axis is turned on and abou 50% when it is turned off.
The work-around is to draw the axis scales as a background image.
I hope this helps,
Yours Sincerely
Anaesthesia
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Dear Anaesthesia,
You can post your files at news://www.steema.net/steema.public.attachments newsgroup or at our upload page.
It would be very helpful if you also send a simple example project we can run "as-is" to reproduce the problem here.
Thanks in advance.
You can post your files at news://www.steema.net/steema.public.attachments newsgroup or at our upload page.
It would be very helpful if you also send a simple example project we can run "as-is" to reproduce the problem here.
Thanks in advance.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
-
- Newbie
- Posts: 13
- Joined: Thu Jun 05, 2008 12:00 am
Dear Narcis,
I've submitted the 2 files. When the axis is plotted the thread running in the 4th processor represents the plotting activity.
In contrast, when the axis is set to not visible, the thread activity is much less (the 8th processor).
I'll try and put together a demo. In essence I'm using a multimedia timer firing at a frequency of 50 Hz and plotting the result of the solution of some differential equations (which compute a pressure waveform).
Yours Sincerely,
Andy Pybus
I've submitted the 2 files. When the axis is plotted the thread running in the 4th processor represents the plotting activity.
In contrast, when the axis is set to not visible, the thread activity is much less (the 8th processor).
I'll try and put together a demo. In essence I'm using a multimedia timer firing at a frequency of 50 Hz and plotting the result of the solution of some differential equations (which compute a pressure waveform).
Yours Sincerely,
Andy Pybus
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Andy,
Thanks for the images and information. Can you reproduce the issue using the All Features\Welcome !\Speed\Realtime charting example in the features demo, available at TeeChart's program group? It works fine for me here.
Thanks in advance.
Thanks for the images and information. Can you reproduce the issue using the All Features\Welcome !\Speed\Realtime charting example in the features demo, available at TeeChart's program group? It works fine for me here.
Thanks in advance.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |