Results 1 to 2 of 2

Thread: serial communication

  1. #1
    Join Date
    Feb 2009
    Posts
    5
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Windows

    Default serial communication

    Hi all,

    i got my qt and mfc programs talking via the com port. (using the infamous qextserial...)

    one probelm though is that the qt side has a difficulty modifing the properties of the comp port.

    i need to use 9600, no parity, 8 , 2 stop, no flow.

    i configure my port with these setting but for some reason the connection cannot be made.
    to fix this, i open the windows hyperterminal, make a new connection with my settings and then close the connection, my qt application is working fine.
    whenever i reboot my computer the connection is lost again and i have to configure a new connection trhough the terminal, disconnect the connection and open the qt connection to work again.

    i've tried this trick on qestserial... example on both sides and i get this problem as well.

    does someone knows what i'm talking about and maybe how to fix this ?
    can someone post a working example please (and not point me the qestserial..)
    thanks

  2. #2
    Join Date
    Apr 2008
    Posts
    73
    Thanks
    11
    Thanked 7 Times in 3 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: serial communication

    Sorry not to help but I thought I would mention that I get this problem too. In my case I have to run a different propriety windows program first, then it works fine.

    It would be great if you could find a solution to this!

    Phil
    Best Regards,
    Phil Winder
    www.philwinder.com

Similar Threads

  1. serial communication
    By semden in forum Qt Programming
    Replies: 2
    Last Post: 13th February 2009, 09:57
  2. serial communication problem
    By Tavit in forum Qt Programming
    Replies: 3
    Last Post: 31st May 2008, 12:56
  3. serial communication programming
    By jagadish in forum Qt Programming
    Replies: 1
    Last Post: 30th August 2007, 07:47
  4. C++ Library for serial communication
    By dec0ding in forum General Programming
    Replies: 7
    Last Post: 8th July 2007, 18:18
  5. How to transfer file through serial communication
    By shamik in forum Qt Programming
    Replies: 29
    Last Post: 29th May 2007, 10:22

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.