Results 1 to 5 of 5

Thread: DataPlot with data from Serial Port

  1. #1
    Join Date
    Jul 2010
    Location
    PL
    Posts
    9
    Thanks
    1
    Thanked 1 Time in 1 Post
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11

    Question DataPlot with data from Serial Port

    Hi,
    I'm przemek and I'm newbie in qwt. I have to create a plot similar to Data Plot with data getting from Serial Port (RS-232). It will be about 10 floating point (for example: temperature) as y axis per second. The plot should be repaint /redraw after getting new data from rs-232. I would like to have about 150-200 points on screen. Is it possible in Qwt? If yes, how to do it? Can you give me some example sources?
    Thank you in advance.

    regards,
    przemek

    ps.
    I can have packages: floating point (temperature - y axis) + time stamp (x axis) and painting the plot with time stamp will be the best.

  2. #2
    Join Date
    Jul 2010
    Posts
    72
    Thanked 3 Times in 3 Posts
    Qt products
    Qt4 Qt/Embedded Qt Jambi
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Talking Re: DataPlot with data from Serial Port

    Hi man
    I'm doing almost the same
    I'm acquiring data from external device into PC via RS232 and need to plot it using Qt(qwt) data (y) versus time ( x)

    Now I'm at the stage of installing and configurinq Qt and desing of whole project - communication ( gathering data ), thread safety, storing data, real time plotting using qwt and delivering data to qwt classes

    Let's collaborate!

  3. #3
    Join Date
    Jul 2010
    Posts
    13
    Thanks
    1
    Thanked 2 Times in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: DataPlot with data from Serial Port

    As a matter of fact, I'm doing something similar.

    I'm using the serial port to interface with a dyi oscilloscope.
    I was thinking first to display the data manually by drawing lines, but Qwt might make it easier with labels and all. Any luck with it so far?

  4. #4
    Join Date
    Mar 2011
    Posts
    36
    Thanks
    30
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: DataPlot with data from Serial Port

    please somebody must have reply to this thread....

  5. #5
    Join Date
    Feb 2006
    Location
    Munich, Germany
    Posts
    3,309
    Thanked 879 Times in 827 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: DataPlot with data from Serial Port

    Quote Originally Posted by ready View Post
    please somebody must have reply to this thread....
    And what exactly is the question ?

    Uwe

Similar Threads

  1. can't set serial port data bits
    By yyiu002 in forum Qt Programming
    Replies: 6
    Last Post: 23rd June 2010, 23:28
  2. data from serial port
    By bhe in forum Newbie
    Replies: 4
    Last Post: 3rd May 2009, 11:19
  3. Replies: 9
    Last Post: 4th June 2008, 13:29
  4. First attempt to display serial port data on GUI
    By ShaChris23 in forum Newbie
    Replies: 12
    Last Post: 4th May 2007, 10:14
  5. Serial Port
    By b1 in forum Qt Programming
    Replies: 2
    Last Post: 18th January 2007, 03:05

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.