simon_cielo Posted November 8, 2012 Report Share Posted November 8, 2012 Hey,I'm experiencing a very weird and annoying problem. While I record the data and I minimize or maximize the SW window I got corrupted data.BUT, If I first open the RealTerm and then open / close the port and then starting to record data with my SW then the problem is gone.P.S. it's happened in high rate - 400hz.Any suggestions? port = new QextSerialPort(portName,QextSerialPort::EventDriven); if(!port->open(QIODevice::ReadOnly )) return -1; connect( port, SIGNAL(readyRead()), this, SLOT(onReadyRead())); port->setBaudRate(BAUD691200); port->setDataBits(DATA_8); port->setParity(PAR_NONE); port->setStopBits(STOP_1); port->setFlowControl (FLOW_OFF); port->setRts( true ); port->setDtr( true );My setup:Windows xp sp3Serial port RS-422BaudRate : 691200Qt 4.7.0Qextserialport 1.2 beata2. Quote Link to comment Share on other sites More sharing options...
MANEMAN Posted November 10, 2012 Report Share Posted November 10, 2012 Whoa ! I'm personally baffled by strange terms, all that heavy code BS, and communication problems before I start ! :lol:Seriously though, unless anyone else comes along who understands Serial communiction within QT C++ here on the forum, I would have thought that perhaps something other than a Windows forum would have reaped faster returns.Try over at this place:http://qt-project.or...ms/viewforum/36I'm looking forward to seeing your post, and of course the answer at the Qt Developer Network forum within the next few days.I am always willing to learn something that is new to me.Hope this has been of some help.John. Quote Link to comment Share on other sites More sharing options...
simon_cielo Posted November 11, 2012 Author Report Share Posted November 11, 2012 John, thanks for your reply! Quote Link to comment Share on other sites More sharing options...
simon_cielo Posted November 11, 2012 Author Report Share Posted November 11, 2012 Maybe you can help on this question:how can I check if the baud rate the I entered in my program realy changed on windows ? Quote Link to comment Share on other sites More sharing options...
MANEMAN Posted November 11, 2012 Report Share Posted November 11, 2012 You must be aware by this time that to get very far with Qt you must first fully read the wiki.You in fact, are aware of this because you have already been told.Basically what you have been told in a very diplomatic way on another forum is, - when you start your projects, it is you who must do most of the footwork, not other people.I do also agree that your time would be better spent reading the wiki and the developer guides rather than making posts to multiple forums, in multiple places upon those forums. (such as you have here)As I have already pointed out to you " I would have thought that perhaps something other than a Windows forum would have reaped faster returns." I made this statement knowing already that you had enrolled at QT Developer forum some time back.It seems more than a little strange that you post here when you have Debao who is a qt certified specialist that you can communicate with on the forum, and moderators who are au fait with the language.If for some reason you have not been able to find the guides or the wiki here are links:http://qt-project.org/wiki'>/>http://qt-project.org/wiki/developer-guides'>/>http://qt-project.org/wiki/developer-guideshttp://qt-project.org/wiki'>/>http://qt-project.org/wiki/OnlineCommunities'>/>http://qt-project.org/wiki/OnlineCommunities/>http://qt-project.org/wikiThe readers here will be able to see the answer to your original post here: http://qt-project.org/forums/viewthread/21820/Best of luckJohn. Quote Link to comment Share on other sites More sharing options...
simon_cielo Posted November 12, 2012 Author Report Share Posted November 12, 2012 Thanks Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.