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

    Retrieve duration of Finished Print when reconnecting

    Scheduled Pinned Locked Moved
    Duet Web Control wishlist
    5
    6
    317
    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.
    • r123undefined
      r123
      last edited by

      I run prints overnight and when return laptop will Webcontrol will inevitably have to reconnect (laptop sleep).

      It would be GREAT (and give a much better impression of a fully integrated system) if at that point Webcontrol could retrieve the duration of the print that just finished. That's invariably something I'd like to know!

      Would also be nice to have print end time (a real time) just as we are all hoping for "estimated finish time" to make it's way back in to webcontrol!

      Stephen6309undefined 1 Reply Last reply Reply Quote 2
      • Stephen6309undefined
        Stephen6309 @r123
        last edited by

        @r123 When a print is finished, the time it took is in the Console in DWC.

        Phaedruxundefined 1 Reply Last reply Reply Quote 0
        • Phaedruxundefined
          Phaedrux Moderator @Stephen6309
          last edited by

          @Stephen6309 said in Retrieve duration of Finished Print when reconnecting:

          @r123 When a print is finished, the time it took is in the Console in DWC.

          Only if DWC was open when it finishes. His laptop is going to sleep and it's not getting collected.

          @r123 I think this could be solved by the addition of writting the total print time to the gcode file itself, which is on the list.

          Z-Bot CoreXY Build | Thingiverse Profile

          Stephen6309undefined 1 Reply Last reply Reply Quote 0
          • Stephen6309undefined
            Stephen6309 @Phaedrux
            last edited by

            @Phaedrux
            @r123

            Do a similation before printing to get the close to correct print time added to the gcode.

            1 Reply Last reply Reply Quote 1
            • dc42undefined
              dc42 administrators
              last edited by

              If you enable logging using M929 then the start and finish times will be written to the log file.

              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

              1 Reply Last reply Reply Quote 0
              • achrnundefined
                achrn
                last edited by

                If you connect to http://<ip address>/machine/status you get the machine model, and that has an entry 'job' 'lastDuration' which looks to me to be duration in seconds of the last print job. (At least, it does on mine - MB6HX + Pi firmware 3.1.1 - I don't know what combinations of hardware are needed for this to be true.)

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