[Qt-interest] QExtSerialPort Overhead
Pascal Patry
iscy at invalidip.com
Thu Feb 12 17:58:45 CET 2009
On February 12, 2009 11:31:09 am Donal wrote:
> Hi There,
Hi,
> I am wondering if I'll have timing issues further down the line and need to
> know if QExtSerialPort is the way to go.
QextSerialPort is not part of Qt. It is a separate project developed developed by
different people. However its API is based on Qt.
> I will be querying a serial device roughly 6 times a second, processing lot
> of different commands. This will be running in a thread along
> with a QTimer in another for reading time outs etc.
You should probably think about doing an IO only thread here instead of relying on QTimer
for performance reasons...
> I will be running this on a 200Mhz ARM processor on Embedded Linux. My
> question is, is QExtSerialPort quick enough to handle such requests
> while updating a GUI with maybe 6 values obtained each second.
>
> If not I may have to go more low level with C.
Yes, QextSerialPort is more than enough for your needs. It will help you staying far from
posix calls, while being cross platform. It is only a wrapper, so it won't hurt the
performance your application.
More information about the Qt-interest-old
mailing list