Results 1 to 5 of 5

Thread: Gui showing data read from a serial port in "realtime"

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    May 2007
    Posts
    131
    Thanks
    17
    Thanked 4 Times in 2 Posts

    Default Gui showing data read from a serial port in "realtime"

    Hello.

    I am trying to develop a program that shows a stream of function values in a chart. I recieve the values from a serial port. I set up the serial port using the windows api without any probs, but I fail to make it in a way that the gui can recieve the data. Afaik, my problem would be solved by having the comport stuff running in a seperate thread which signals the gui when new data is recieved. I was looking for somekind of code example having a qt gui and a comport communication implemented in different threads but i didnt find anything. Isnt this a very fundamental practice (show data from a stream in a guy)?
    Last edited by bmn; 14th October 2010 at 16:34.

Similar Threads

  1. Replies: 4
    Last Post: 10th July 2010, 17:34
  2. can't set serial port data bits
    By yyiu002 in forum Qt Programming
    Replies: 6
    Last Post: 23rd June 2010, 22:28
  3. Replies: 1
    Last Post: 16th June 2009, 09:09
  4. data from serial port
    By bhe in forum Newbie
    Replies: 4
    Last Post: 3rd May 2009, 10:19
  5. How to write bytes read from serial port to a QFile
    By shamik in forum Qt Programming
    Replies: 19
    Last Post: 25th June 2007, 14:12

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.