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. QModbusMaster example
Forum Updated to NodeBB v4.3 + New Features

QModbusMaster example

Scheduled Pinned Locked Moved Unsolved General and Desktop
modbus
6 Posts 2 Posters 3.9k Views 1 Watching
  • 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.
  • beeckscheB Offline
    beeckscheB Offline
    beecksche
    wrote on last edited by beecksche
    #1

    Hi,
    i want to learn about the QModbus class and started the modbus master example (tcp type)

    In this example the connectDevice() function always returns true by any set host. I tested the QModbusTcpClient class also in my own code. The function always return true.

    As i understood the documentaton, the function should only returns true, if the connecton established successfully, otherwise false.

    So is there a bug, or do i miss understand the function?

    I use the precompiled libraries (Qt5.6.0) for MSVC 2013.

    Thanks for help!

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      That module being pretty new, I'd recommend posting this question on the interest mailing list. You'll find there Qt's developers/maintainers ( this forum is more user oriented)

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • beeckscheB Offline
        beeckscheB Offline
        beecksche
        wrote on last edited by beecksche
        #3

        Yeah i see that the QSerialBus module is marked as technical preview.
        What does this exactly means?

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          It means that it's a working module that you can try and test but there's no guaranty that the public API will not change in the next version based on the feedback of the testers.

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • beeckscheB Offline
            beeckscheB Offline
            beecksche
            wrote on last edited by
            #5

            Okay thanks. And how can i share my experience about the module?

            1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #6

              Depending on what you would like to bring as points, there are several possibilities:

              1. The mod bus component on the bug report system
              2. Interest mailing list

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              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