Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QModbusRtuSerialMaster queue
Qt 6.11 is out! See what's new in the release blog

QModbusRtuSerialMaster queue

Scheduled Pinned Locked Moved Solved General and Desktop
2 Posts 1 Posters 653 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    mmiacca
    wrote on last edited by
    #1

    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.

    1 Reply Last reply
    0
    • M Offline
      M Offline
      mmiacca
      wrote on last edited by
      #2

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

      1 Reply Last reply
      2

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved