Results 1 to 20 of 30

Thread: QSerialPort High Speed Serial Reading from board and Logging Issue

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #17
    Join Date
    Jan 2009
    Location
    Russia
    Posts
    309
    Thanks
    2
    Thanked 43 Times in 42 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QSerialPort High Speed Serial Reading from board and Logging Issue

    > Because i'm thinking QSerialPort cant handle the high frequency communication.

    It is only your wrong thinking.

    > serial->setReadBufferSize(400);

    Don't touch this at all.

    By default the internal buffer of QSP is infinite, and QSP does not lose any data.

    > serial->clear(...)

    Do not use it.

    PS: The problem is in your code.
    Last edited by kuzulis; 23rd January 2017 at 11:14.

Similar Threads

  1. Replies: 1
    Last Post: 21st June 2016, 23:32
  2. QSerialPort - speed and performance
    By Wer_Bn in forum Qt Programming
    Replies: 5
    Last Post: 30th April 2015, 17:12
  3. qserialport and reading bytes
    By gab74 in forum Newbie
    Replies: 3
    Last Post: 14th February 2014, 20:11
  4. QSerialPort :: read - Serial Comms noob.
    By llaregyb in forum Qt Programming
    Replies: 2
    Last Post: 8th January 2014, 12:18

Tags for this Thread

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.