Image 01
profile-image

RomanG

Roman Gassmann
System Software
QSerialDevice

Qt Components 143 comments

Score 80.6%
Mar 15 2012
Hi,

a while ago I downloaded your source version 0.3.0. and included it in my App. Wrote a Thread which handels the serial port (AbstractSerial), to be sure that no data can be lost. Everything worked fine. After the info that your source will be an addon to Qt5 I downloaded your new version 2.0. and replaced the old version in my app.
The new version works as long as no interactions on the gui will take place. But as soon as for example I hold the Main-Window at its windowframetitle the readyRead() SIGNAL will not be triggeret any more.
I still can write to the Port and also input data wont be lost its just that the SIGNAL will not be triggeret.
Why is this? What do I have to do, in order to get the SIGNAL even if my window is in action?
thanks.

regards
Roman - Apr 26 2012
Hi there,

first many thanks for your nice work!
I included your code into my project and it worked strait ahead!
In my project I connect a device via an USB Serial Port Chip from FTDI. So nothing special there. Connection works fine data can be exchanged. But now if someone pull out the USB cable, windows (unfortuntely... i rather use linux but as you know bill is everywhere..) dismount the port. This will be detected by the serial enumerator which "forces" me to close the port. Unfortunately as I debuged, this cant be done with your code since you check the port first via isValid(). Am I right? If so, is there a way to fix that problem?

many thanks in advance.

greetings
Roman - Oct 14 2010
Hi there,

first many thanks for your nice work!
I included your code into my project and it worked strait ahead!
In my project I connect a device via an USB Serial Port Chip from FTDI. So nothing special there. Connection works fine data can be exchanged. But now if someone pull out the USB cable, windows (unfortuntely... i rather use linux but as you know bill is everywhere..) dismount the port. This will be detected by the serial enumerator which "forces" me to close the port. Unfortunately as I debuged, this cant be done with your code since you check the port first via isValid(). Am I right? If so, is there a way to fix that problem?

many thanks in advance.

greetings
Roman - Oct 14 2010