Results 1 to 3 of 3

Thread: Reading/writing a serial port through USB

  1. #1
    Join Date
    Jun 2012
    Posts
    6
    Qt products
    Qt4

    Default Reading/writing a serial port through USB

    Hello, I am working on a project where I have a small linux gumstix computer outputting simple serial lines of text through a USB cable. I need to be able to send the text through the serial connection and then i need to see the line of code that gets sent back through the connection. I have a couple of questions about doing this in Qt. First off I have seen a couple libraries for doing this, are there any differences between the libraries or in essence would any of them work for this application? Are there any super good tutorials out there for REAL beginners? I have never used Qt before and I am a bit lost, so even if I have the correct libraries I don't quite know where to begin in this project.

    Thanks for any help!

    -Jvwlong

  2. #2
    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: Reading/writing a serial port through USB

    Hi.

    As for working with serial port I can advise QtSerialPort.
    This library is the most tech, constantly evolving and easy to use. With it comes the examples of its use.

    If you have any questions while working with it - then ask me.

  3. #3
    Join Date
    Jun 2012
    Location
    Iran , Tehran
    Posts
    93
    Thanks
    5
    Platforms
    Unix/X11 Windows Android

    Default Re: Reading/writing a serial port through USB

    excuse me
    before posting a topic plz look for your issues in Qt help. it is great indeed.
    have fun
    Life is about making the right decisions and moving on.

Similar Threads

  1. serial port communication
    By robotics in forum Qt Programming
    Replies: 19
    Last Post: 28th September 2011, 15:11
  2. Serial Port Reading problem
    By sfabel in forum Qt Programming
    Replies: 12
    Last Post: 18th February 2010, 14:59
  3. Replies: 1
    Last Post: 1st July 2009, 00:37
  4. Replies: 1
    Last Post: 1st July 2009, 00:36
  5. Serial Port
    By b1 in forum Qt Programming
    Replies: 2
    Last Post: 18th January 2007, 02: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.