[Qt-interest] real time strip chart

Atlant Schmidt aschmidt at dekaresearch.com
Mon May 23 18:36:10 CEST 2011


Giovanni:

> > > It is too slow. ... Incoming data are faster than one
> > > sample for pixel,
> >
> >   I'm not sure I understood this correctly, but what I think
> >   you're saying here is that each "column" of your strip-chart
> >   output can contain multiple samples *FROM EACH CHANNEL*
> >   because the overall time that each column represents is longer
> >   than the sample interval of the data so you get (say) ten samples
> >   from each channel being displayed in the same column.
>
> exactly this way

  Thanks for clarifying that.


> In fact my problem is not to draw the traces and scroll
> the image in main memory (it takes about 2msec (real time
> and CPU time)) on the 20msec available, but to copy it
> on the screen.

  Of course. Without a doubt, the CPU takes tremendous
  advantage of all of the caching going on, but to get
  the data to the frame buffer, something still has to
  do real I/O (external bus) operations and these haven't
  increased in speed nearly as much as CPU (or GPU!)
  internal operations have. The key is to convince the
  GPU to do the scrolling for you and only draw the
  newest column. Easy trick, right? ;-)

                               Atlant


This e-mail and the information, including any attachments, it contains are intended to be a confidential communication only to the person or entity to whom it is addressed and may contain information that is privileged. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please immediately notify the sender and destroy the original message.

Thank you.

Please consider the environment before printing this email.



More information about the Qt-interest-old mailing list