Thread: serial port reading

  1. #1
    Registered User
    Join Date
    Aug 2010
    Posts
    1

    serial port reading

    Hi all,

    I want to write a QT4 GUI based app, which should read data on serial port and display it on edit box. I am not able to find any event generating class/function in linux for the same.

    I have done the same in windows using MScomm and it works fine.

    Suggest me how to get out of this problem.


    thanks,
    pavan
    Last edited by Salem; 08-11-2010 at 10:33 PM. Reason: Snip email address - you posted it here, you read it here

  2. #2
    Registered User
    Join Date
    May 2010
    Posts
    4,632
    Check out the functions in termios.h. and the maybe this "http://www.easysw.com/~mike/serial/serial.html"
    Also if for C++ check out boost serial.
    Last edited by jimblumberg; 08-11-2010 at 08:48 PM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Serial Port Questions
    By valaris in forum Tech Board
    Replies: 2
    Last Post: 05-22-2009, 08:26 AM
  2. Serial port programming in Linux
    By g4j31a5 in forum C++ Programming
    Replies: 1
    Last Post: 09-28-2006, 08:24 PM
  3. Reading and writing to a serial port
    By SwarfEye in forum C Programming
    Replies: 2
    Last Post: 08-18-2006, 12:28 AM
  4. Weired serial port problem
    By SuperNewbie in forum Windows Programming
    Replies: 2
    Last Post: 12-14-2003, 05:31 AM
  5. Serial port read..can someone tell me..
    By Unregistered in forum C Programming
    Replies: 3
    Last Post: 06-27-2002, 08:21 AM

Tags for this Thread