PDA

View Full Version : Serial Programming



pavan
4th August 2010, 18:01
Hi all,
I am trying to develop a serial communication based GUI application.
I have succeeded in sending data from my GUI app...
but i am facing difficulty in receiving the data.....
I have done the same app in windows using MSCOMM which generates an event whenever there is a data to be received....

If there is a way out in QT please let me know....
Also, i want to display the same on the "textedit" box...... please guide me how to do this

i am a newbie in this arena..so please guide my way out

thanks,
pavan

squidge
4th August 2010, 18:43
How are you receiving the data?

kuzulis
5th August 2010, 06:38
2 pavan,

use for Qt this library:
1. qextserialport (http://code.google.com/p/qextserialport/)

or

2. qserialdevice (http://qt-apps.org/content/show.php?content=112039)

--

PS: If you are not important license, then QSerialDevice (IMHO) - is preferable.

pavan
10th August 2010, 12:49
How are you receiving the data?

I was successful in sending the data....
but i dont know how to receive data....

so far i was using POSIX libraries.......

i have to try QSerialDevice....

pavan