Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login

    Annoying persistent erroneous message boxes.

    Scheduled Pinned Locked Moved
    Duet Web Control
    5
    15
    502
    Loading More Posts
    • 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.
    • dc42undefined
      dc42 administrators @deckingman
      last edited by

      @deckingman what do you have the "Default notification timeout" set to on the DWC Settings General page? I would expect that message to time out after that period, like any other informational message.

      Duet WiFi hardware designer and firmware engineer
      Please do not ask me for Duet support via PM or email, use the forum
      http://www.escher3d.com, https://miscsolutions.wordpress.com

      deckingmanundefined 1 Reply Last reply Reply Quote 0
      • OwenDundefined
        OwenD @deckingman
        last edited by

        @deckingman
        I have noticed that echo commands are queued, so in a tight loop it will take some for the queue to clear as each displays for the default timeout unless there was no change in the text.

        You have a 5 second delay set between loops though, so unless the timeout is high that may not be it.

        1 Reply Last reply Reply Quote 0
        • deckingmanundefined
          deckingman @dc42
          last edited by

          @dc42 said in Annoying persistent erroneous message boxes.:

          @deckingman what do you have the "Default notification timeout" set to on the DWC Settings General page? I would expect that message to time out after that period, like any other informational message.

          It's 5000ms (5 secs). Coincidentally, that's the same as the G4 delay I use in the loop in my Macro. I'm just wondering if there is some strange interaction between the two? So DWC times out the message at exactly the same time that the loop does another echo? I'll change the notification timeout to some other value and see if that helps. I'm about an hour into a 9 hour print so it'll be a while.........

          Ian
          https://somei3deas.wordpress.com/
          https://www.youtube.com/@deckingman

          OwenDundefined 1 Reply Last reply Reply Quote 0
          • OwenDundefined
            OwenD @deckingman
            last edited by

            @deckingman
            I have my timeout at 3 seconds.
            If I run this macro

            while iterations < 10
                echo "Loop count:",iterations
                G4 S3
            

            I get this in DWC
            Not the "ghost" readings showing up again which I presume are due timeout vs queue time
            3sec.gif.gif

            If I reduce the G4 time to 2 seconds I get this.
            The echos appear every two seconds as expected, but note the reverse countdown effect at the end.
            2sec.gif

            If I go to 3.2 seconds per loop allowing the timeout to expire
            3.2sec.gif

            deckingmanundefined 1 Reply Last reply Reply Quote 1
            • deckingmanundefined
              deckingman @OwenD
              last edited by

              @OwenD Thanks. Not sure I fully understand. Are you saying that if the G4 in the "while loop" is greater than the DWC time out delay then all is well, but if the G4 time is the same or shorter than the DWC timeout setting, then strange things happen?

              Ian
              https://somei3deas.wordpress.com/
              https://www.youtube.com/@deckingman

              OwenDundefined 1 Reply Last reply Reply Quote 0
              • OwenDundefined
                OwenD @deckingman
                last edited by

                @deckingman said in Annoying persistent erroneous message boxes.:

                @OwenD Thanks. Not sure I fully understand. Are you saying that if the G4 in the "while loop" is greater than the DWC time out delay then all is well, but if the G4 time is the same or shorter than the DWC timeout setting, then strange things happen?

                Pretty much

                deckingmanundefined 1 Reply Last reply Reply Quote 0
                • deckingmanundefined
                  deckingman @OwenD
                  last edited by

                  @OwenD My print finished and I changed the time out delay in DWC to be 3 secs (2 secs less that the G4 wait in the while loop) and that seems to have cured the annoying persistent messages. So this is a work around but maybe it might bear some further investigation by @chrishamm or whoever?

                  Ian
                  https://somei3deas.wordpress.com/
                  https://www.youtube.com/@deckingman

                  OwenDundefined 1 Reply Last reply Reply Quote 0
                  • OwenDundefined
                    OwenD @deckingman
                    last edited by

                    @deckingman said in Annoying persistent erroneous message boxes.:

                    @OwenD My print finished and I changed the time out delay in DWC to be 3 secs (2 secs less that the G4 wait in the while loop) and that seems to have cured the annoying persistent messages. So this is a work around but maybe it might bear some further investigation by @chrishamm or whoever?

                    Yes I agree.
                    If you look in the console everything is in order.
                    It's only the "pop up" that gets confusing as the queue appears "out of order" at times.
                    I'd be happy if the pop up just shows the most recent message received (and omitted any more received before it timed out) but others may disagree.

                    deckingmanundefined 1 Reply Last reply Reply Quote 0
                    • deckingmanundefined
                      deckingman @OwenD
                      last edited by

                      @OwenD The other thing I find strange is that when I get the persistent pop up, the actual numbers being shown don't reflect what is purported to be the thing that is being echoed. In the case that I illustrated, the pop up is showing an ever decreasing bed temperature, yet the main DWC page shows the bed temperature as being rock solid. I can't think of anything that starts at current bed temperature and decays over time while the bed temperature itself remains constant, so what the hell are the numbers being shown in the pop up?

                      Ian
                      https://somei3deas.wordpress.com/
                      https://www.youtube.com/@deckingman

                      gloomyandyundefined 1 Reply Last reply Reply Quote 0
                      • gloomyandyundefined
                        gloomyandy @deckingman
                        last edited by

                        @deckingman said in Annoying persistent erroneous message boxes.:

                        so what the hell are the numbers being shown in the pop up?

                        Hard to be 100% sure but I suspect you may be seeing "old" pop up boxes showing the old values... Because of the way the various boxes timeout, you see the boxes in reverse order of them being created... I think one of @OwenD examples showed this. I agree it is very confusing and as mentioned above, just having the most recent message might be better.

                        @deckingman said in Annoying persistent erroneous message boxes.:

                        so what the hell are the numbers being shown in the pop up?

                        deckingmanundefined 1 Reply Last reply Reply Quote 0
                        • deckingmanundefined
                          deckingman @gloomyandy
                          last edited by

                          @gloomyandy That sounds like a feasible explanation - at least, I can't think of a better one.

                          Ian
                          https://somei3deas.wordpress.com/
                          https://www.youtube.com/@deckingman

                          chrishammundefined 1 Reply Last reply Reply Quote 0
                          • chrishammundefined
                            chrishamm administrators @deckingman
                            last edited by

                            @deckingman I still have plans to change the notification system but no ETA at this point. If you're worried about notifications stacking up, consier using persistent display messages (M117) instead - that should be overwritten whenever the message changes.

                            Duet software engineer

                            deckingmanundefined 1 Reply Last reply Reply Quote 0
                            • deckingmanundefined
                              deckingman @chrishamm
                              last edited by

                              @chrishamm Thanks. I'll stick with the shortened DWC timeout work around because I have a lot of macros which use multiple instances of "echo" so it would be a bit of a pain to change them all.

                              Another piece of info which may or may not be relevant is that the pop up echo message box sometimes shows two instances of the echo command. You can see that in my first post where the Bed temp is shown as both 46.13 and 46.58. As the bed temperature was rising, the upper value in bold is actually a previous measurement.

                              Ian
                              https://somei3deas.wordpress.com/
                              https://www.youtube.com/@deckingman

                              chrishammundefined 1 Reply Last reply Reply Quote 0
                              • chrishammundefined
                                chrishamm administrators @deckingman
                                last edited by

                                @deckingman That overlapping text content may be expected in standalone mode, because RRF concatenates messages that are not fetched frequently enough. You may get around that by increasing the poll interval in the DWC settings.

                                Duet software engineer

                                1 Reply Last reply Reply Quote 0
                                • First post
                                  Last post
                                Unless otherwise noted, all forum content is licensed under CC-BY-SA