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. The Sending Data is not Write to Arduino and Controller
Qt 6.11 is out! See what's new in the release blog

The Sending Data is not Write to Arduino and Controller

Scheduled Pinned Locked Moved Solved General and Desktop
4 Posts 2 Posters 629 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.
  • sankarapandiyanS Offline
    sankarapandiyanS Offline
    sankarapandiyan
    wrote on last edited by sankarapandiyan
    #1
    This post is deleted!
    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      If you are thinking about on_send_clicked then at no point are you triggering anything that will write to any of the serial ports.

      Also, each time you call on_openbutton_clicked you create two new QSerialPort objects without even cleaning the old ones.

      And there's absolutely no need for these toStdString/fromStdString conversions.

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

      sankarapandiyanS 2 Replies Last reply
      2
      • SGaistS SGaist

        Hi,

        If you are thinking about on_send_clicked then at no point are you triggering anything that will write to any of the serial ports.

        Also, each time you call on_openbutton_clicked you create two new QSerialPort objects without even cleaning the old ones.

        And there's absolutely no need for these toStdString/fromStdString conversions.

        sankarapandiyanS Offline
        sankarapandiyanS Offline
        sankarapandiyan
        wrote on last edited by
        #3
        This post is deleted!
        1 Reply Last reply
        0
        • SGaistS SGaist

          Hi,

          If you are thinking about on_send_clicked then at no point are you triggering anything that will write to any of the serial ports.

          Also, each time you call on_openbutton_clicked you create two new QSerialPort objects without even cleaning the old ones.

          And there's absolutely no need for these toStdString/fromStdString conversions.

          sankarapandiyanS Offline
          sankarapandiyanS Offline
          sankarapandiyan
          wrote on last edited by
          #4
          This post is deleted!
          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