QSerialPort and thread on Ubuntu
-
I need a serial port for read camera, and other serial port for write control command.
Is it double thread?
Now I can read camera, but can't write command to serial port (com.setTarget).
And the error: QSocketNotifier: Can only be used with threads started with QThread.Code: link text
-
Hi,
Unless you do some heavy stuff with your serial port, there's no need for threads, you can open several ports at the same time without any problem.