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. Qt Modbus RTU Serial Master ASSERT Failure and Communication Issues
Forum Updated to NodeBB v4.3 + New Features

Qt Modbus RTU Serial Master ASSERT Failure and Communication Issues

Scheduled Pinned Locked Moved Unsolved General and Desktop
1 Posts 1 Posters 254 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.
  • B Offline
    B Offline
    BADER
    wrote on last edited by
    #1

    Qt Modbus RTU Serial Master ASSERT Failure and Communication Issues

    I'm developing an application using Qt's Modbus RTU Serial Master implementation, and I'm encountering several issues:

    1. I'm getting an ASSERT failure in the processQueue function:

      ASSERT failure in processQueue: "response timer active", file c:\users\qt\work\qt\qtserialbus\src\serialbus\qmodbusrtuserialmaster_p.h, line 302
      
    2. I'm seeing messages about incomplete ADU reception:

      qt.modbus: (RTU client) Incomplete ADU received, ignoring
      
    3. Occasionally, I get a send failure message:

      qt.modbus: (RTU client) Send failed: 0x0300000024
      
    4. There's also a message about not being able to calculate PDU size:

      qt.modbus: (RTU client) Cannot calculate PDU size for function code: 18 , delaying pending frame
      

    My questions are:

    1. What could be causing the ASSERT failure, and how can I resolve it?
    2. How can I improve the reliability of the Modbus communication to avoid incomplete ADUs and send failures?
    3. Is the PDU size calculation issue related to the other problems, and how should I address it?
    4. Are there any known issues with Qt's Modbus implementation that could be causing these problems?

    I'm using Qt version 5.12.12 on WINDOWS.

    Any insights or suggestions would be greatly appreciated. Thank you!

    1 Reply Last reply
    0

    • Login

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