QSerialPort::waitForReadyRead()) to suspend the calling thread until the operation has completed. In non-GUI and multithreaded applications, the waitFor.() functions can be called (i.e. ![]() When the data is sent to the serial port, QSerialPort emits bytesWritten(). For example, QSerialPort::write() returns immediately. QSerialPort emits a signal when the operation is finished. Operations are scheduled and performed when the control returns to Qt's event loop.
0 Comments
Leave a Reply. |