Results 1 to 2 of 2

Thread: QExtSerialPort

  1. #1
    Join Date
    Aug 2007
    Posts
    275
    Thanks
    28
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default QExtSerialPort

    background:
    OS = windows

    problem:

    I was trying to connect a device thats spits out some data into my PC's com port, now I am wondering how can i detect if the data has arrived. I would like to emit like a readyRead signal everytime i sensed a data in my com port.

    I was trying to look for this kinda scheme in QextSerialPort but it seems that they did not re-implement the original readyRead() signal ..

    If you guys can help with "the detecting the packet of data on my COM port" problem I will really appreciate it.

    baray98

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,368
    Thanks
    3
    Thanked 5,018 Times in 4,794 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: QExtSerialPort

    Use a timer and periodically check bytesAvailable() for positive values.

Similar Threads

  1. Modbus, QextSerialPort and QTimer
    By ^NyAw^ in forum General Programming
    Replies: 6
    Last Post: 27th October 2009, 16:14
  2. Problem in QExtserialport program.
    By dheeraj in forum Qt Programming
    Replies: 5
    Last Post: 31st May 2008, 10:24
  3. Replies: 4
    Last Post: 30th January 2008, 10:00
  4. any body using qextserialport?
    By yagabey in forum Newbie
    Replies: 4
    Last Post: 25th December 2007, 22:08
  5. QExtSerialPort with com ports above com9
    By mightymark in forum Qt Programming
    Replies: 2
    Last Post: 29th May 2006, 08:16

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
  •  
Qt is a trademark of The Qt Company.