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. error: "Cannot configure TxEcho for open device" QCanBusDevice

error: "Cannot configure TxEcho for open device" QCanBusDevice

Scheduled Pinned Locked Moved Solved General and Desktop
qcanbusdevicecan bus
11 Posts 2 Posters 1.3k 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
    Babs
    wrote on 10 Apr 2019, 09:24 last edited by
    #1

    Hello i'm working with QCanBusDevice class and a systeccan plugin. I create my CanDevice in my class constructor and send messages to the device using writeFrame function.
    I get the error "Cannot configure TxEcho for open device" each time i send a message.
    Can anyone help?

    A 1 Reply Last reply 10 Apr 2019, 09:35
    0
    • B Babs
      10 Apr 2019, 09:24

      Hello i'm working with QCanBusDevice class and a systeccan plugin. I create my CanDevice in my class constructor and send messages to the device using writeFrame function.
      I get the error "Cannot configure TxEcho for open device" each time i send a message.
      Can anyone help?

      A Offline
      A Offline
      aha_1980
      Lifetime Qt Champion
      wrote on 10 Apr 2019, 09:35 last edited by
      #2

      Hi @Babs,

      which Qt version are you using?

      Please check with the CAN Example (you can compile and run it from QtCreator). You should not get this message on every frame write, maximum once on open().

      Regards

      Qt has to stay free or it will die.

      B 1 Reply Last reply 10 Apr 2019, 09:51
      2
      • A aha_1980
        10 Apr 2019, 09:35

        Hi @Babs,

        which Qt version are you using?

        Please check with the CAN Example (you can compile and run it from QtCreator). You should not get this message on every frame write, maximum once on open().

        Regards

        B Offline
        B Offline
        Babs
        wrote on 10 Apr 2019, 09:51 last edited by
        #3

        @aha_1980 I'm using Qt 5.12.0.
        If i understand well i must get this error when i call setConfigurationParameter after i connect my device. I'm not doing so and setConfiguration Parameters in my class constructor before connecting the device.

        A 1 Reply Last reply 10 Apr 2019, 11:00
        0
        • B Babs
          10 Apr 2019, 09:51

          @aha_1980 I'm using Qt 5.12.0.
          If i understand well i must get this error when i call setConfigurationParameter after i connect my device. I'm not doing so and setConfiguration Parameters in my class constructor before connecting the device.

          A Offline
          A Offline
          aha_1980
          Lifetime Qt Champion
          wrote on 10 Apr 2019, 11:00 last edited by
          #4

          @Babs Please check with the CAN Example and report the results here.

          Qt has to stay free or it will die.

          B 2 Replies Last reply 10 Apr 2019, 12:22
          0
          • A aha_1980
            10 Apr 2019, 11:00

            @Babs Please check with the CAN Example and report the results here.

            B Offline
            B Offline
            Babs
            wrote on 10 Apr 2019, 12:22 last edited by
            #5

            @aha_1980 I get the same error when i try to send a message via CAN example.[link text](0_1554898958966_error.PNG link url)
            0_1554898966685_compil.PNG

            1 Reply Last reply
            0
            • A aha_1980
              10 Apr 2019, 11:00

              @Babs Please check with the CAN Example and report the results here.

              B Offline
              B Offline
              Babs
              wrote on 10 Apr 2019, 12:23 last edited by
              #6

              @aha_1980 I get the same error even with the CAN example

              A 1 Reply Last reply 10 Apr 2019, 13:22
              0
              • B Babs
                10 Apr 2019, 12:23

                @aha_1980 I get the same error even with the CAN example

                A Offline
                A Offline
                aha_1980
                Lifetime Qt Champion
                wrote on 10 Apr 2019, 13:22 last edited by
                #7

                @Babs Ok, but do you get it every time you send a frame or once after open?

                I need this information to fix the plugin.

                Qt has to stay free or it will die.

                B 1 Reply Last reply 10 Apr 2019, 13:27
                0
                • A aha_1980
                  10 Apr 2019, 13:22

                  @Babs Ok, but do you get it every time you send a frame or once after open?

                  I need this information to fix the plugin.

                  B Offline
                  B Offline
                  Babs
                  wrote on 10 Apr 2019, 13:27 last edited by
                  #8

                  @aha_1980 I get the error every time i send a frame.

                  A 2 Replies Last reply 10 Apr 2019, 18:09
                  0
                  • B Babs
                    10 Apr 2019, 13:27

                    @aha_1980 I get the error every time i send a frame.

                    A Offline
                    A Offline
                    aha_1980
                    Lifetime Qt Champion
                    wrote on 10 Apr 2019, 18:09 last edited by
                    #9

                    Hi @Babs,

                    I just tried but I cannot reproduce your problem with Qt 5.13 Beta.

                    So please, give the exact configuration you did, otherwise it's impossible to reproduce this error.
                    0_1554919692071_892d3a58-9df4-4899-83a2-f5da2c8adb0d-grafik.png

                    My configuration:
                    0_1554919746260_47d77f82-8a22-489f-9eb3-d9dcbeb494be-grafik.png
                    Regards

                    Qt has to stay free or it will die.

                    1 Reply Last reply
                    0
                    • B Babs
                      10 Apr 2019, 13:27

                      @aha_1980 I get the error every time i send a frame.

                      A Offline
                      A Offline
                      aha_1980
                      Lifetime Qt Champion
                      wrote on 10 Apr 2019, 18:48 last edited by
                      #10

                      @Babs

                      Update: I was partly able to reproduce your problem! The error happens when you open the device (one time, as I already assumed) and I pushed a fix for review: https://codereview.qt-project.org/258740

                      If everything goes well, this fix will be in Qt 5.12.4

                      Regards

                      Qt has to stay free or it will die.

                      B 1 Reply Last reply 11 Apr 2019, 09:24
                      2
                      • A aha_1980
                        10 Apr 2019, 18:48

                        @Babs

                        Update: I was partly able to reproduce your problem! The error happens when you open the device (one time, as I already assumed) and I pushed a fix for review: https://codereview.qt-project.org/258740

                        If everything goes well, this fix will be in Qt 5.12.4

                        Regards

                        B Offline
                        B Offline
                        Babs
                        wrote on 11 Apr 2019, 09:24 last edited by
                        #11

                        @aha_1980 Thanks you.
                        Regards,

                        1 Reply Last reply
                        0

                        10/11

                        10 Apr 2019, 18:48

                        • Login

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