Important: Please read the Qt Code of Conduct -

QModbusRtuSerialMaster queue

  • I'm using QModbusRtuSerialMaster to communicate with many modbus slaves, the QModbusRtuSerialMaster has a queue to acomodate sendReadRequest and sendWriteRequest calls, ok, but i can't know how many waiting message are there in the queue.
    Then if i need to include a sendWriteRequest at any time, the write to de slave takes a long time, because the queue.
    Is there any simple way know the size of queue to limit this size.
    If not, it's possible to ask for a new function?.
    Tks in advance.

  • I solved this with a QList of the objects returned by sendWriteRequest

Log in to reply