Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Is it possible to control 2 arduinos from different QT gui windows on the same computer?
Forum Update on Monday, May 27th 2025

Is it possible to control 2 arduinos from different QT gui windows on the same computer?

Scheduled Pinned Locked Moved Solved Mobile and Embedded
5 Posts 3 Posters 1.1k 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.
  • J Offline
    J Offline
    jkprog
    wrote on 30 Jun 2017, 21:10 last edited by
    #1

    Hi, I am trying to control gpio pins from 2 different arduinos on the same computer. For that i have made two separate guis on QT. One is connected to COM 3 and the other is connected to COM 4.
    Now I want to make the two GUis run together. I run one GUI and it works fine, when I run the second GUI , I get the error "Cannot retrieve debugging output."
    I checked on the internet and it says that this happens if one has 2 qt windows running.
    Is there some way to control 2 different arduinos from the same computer using QT gui?

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 30 Jun 2017, 22:21 last edited by
      #2

      Hi,

      Why not make one application to talk with both Arduino boards ?

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

      J 2 Replies Last reply 1 Jul 2017, 16:43
      1
      • M Offline
        M Offline
        mvuori
        wrote on 30 Jun 2017, 22:32 last edited by
        #3

        As far as I understand, you can use as many Qt GUI Windows to do whatever you like, but - based on what Internet says - you cannot have multiple instances of Qt Creator for running and debugging those. That is a very different thing. Of course, in "production" you are not supposed to execute your programs from Qt Creator...

        1 Reply Last reply
        0
        • S SGaist
          30 Jun 2017, 22:21

          Hi,

          Why not make one application to talk with both Arduino boards ?

          J Offline
          J Offline
          jkprog
          wrote on 1 Jul 2017, 16:43 last edited by
          #4
          This post is deleted!
          1 Reply Last reply
          0
          • S SGaist
            30 Jun 2017, 22:21

            Hi,

            Why not make one application to talk with both Arduino boards ?

            J Offline
            J Offline
            jkprog
            wrote on 1 Jul 2017, 17:17 last edited by
            #5

            @SGaist thanks for the idea, I made two QSerialPort and both the arduinos work on the same QT window :-)

            1 Reply Last reply
            0

            1/5

            30 Jun 2017, 21:10

            • Login

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