Results 1 to 4 of 4

Thread: QWT plot is running very slow

  1. #1
    Join Date
    May 2012
    Posts
    6
    Thanks
    1
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11

    Exclamation QWT plot is running very slow

    hi ,
    I have apps to graph ECG signal on mini 2440. Singals are realtime . First time , signal is very good until end of the qwtplot , then next signals is getting slower . After a few minutes , Apps is not responding.
    Is there any body to help me
    Thanks...

  2. #2
    Join Date
    May 2012
    Location
    Bangalore, India
    Posts
    271
    Thanks
    29
    Thanked 50 Times in 47 Posts
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: QWT plot is running very slow

    use setRawSamples() instead. May be it will work fine.
    Heavy Metal Rules. For those about to rock, we salute you.
    HIT THANKS IF I HELPED.

  3. The following user says thank you to sonulohani for this useful post:

    desperado_43 (25th July 2012)

  4. #3
    Join Date
    May 2012
    Posts
    6
    Thanks
    1
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11

    Default Re: QWT plot is running very slow

    Ok that sound interesting.
    What is the usage of setRawSamples ??

  5. #4
    Join Date
    May 2012
    Location
    Bangalore, India
    Posts
    271
    Thanks
    29
    Thanked 50 Times in 47 Posts
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: QWT plot is running very slow

    void QwtPlotCurve::setRawSamples ( const double * xData,
    const double * yData,
    int size
    )

    Initialize the data by pointing to memory blocks which are not managed by QwtPlotCurve.

    setRawSamples is provided for efficiency. It is important to keep the pointers during the lifetime of the underlying QwtCPointerData class.

    Parameters:
    xData pointer to x data
    yData pointer to y data
    size size of x and y
    Heavy Metal Rules. For those about to rock, we salute you.
    HIT THANKS IF I HELPED.

Similar Threads

  1. Replies: 1
    Last Post: 17th April 2012, 10:10
  2. Replies: 3
    Last Post: 29th April 2011, 13:15
  3. Replies: 2
    Last Post: 11th December 2009, 07:53
  4. Running text & slow drawText
    By KL-7 in forum Qt Programming
    Replies: 2
    Last Post: 11th August 2009, 11:24
  5. Replies: 1
    Last Post: 17th May 2006, 00:23

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.