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

    Simulate file done, but file is not updated in job list

    Scheduled Pinned Locked Moved
    Beta Firmware
    3
    13
    512
    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.
    • war4peaceundefined
      war4peace
      last edited by

      Hi all,

      I have simulated a GCode file which is rather large, took quite some time (over 90 minutes). Would have hoped for a better time, but it is what it is.
      However, when simulation ended, the job did not get updated with the simulation result in the list.

      Console output:

      5/20/2021, 7:07:20 PM	M37 P"0:/gcodes/WaR/Fury_Tank_PLA_Green.gcode"
      Simulating print of file 0:/gcodes/WaR/Fury_Tank_PLA_Green.gcode
      
      5/20/2021, 8:45:05 PM	File 0:/gcodes/WaR/Fury_Tank_PLA_Green.gcode will print in 23h 48m plus heating time
      

      Below is a screenshot from the job list, showing the G-Code file with "N/A" under the "Simulated Time" column.

      3d223f98-5cfe-4463-9af0-cfc146a6804c-image.png

      I have also tried another file, a shorter one this time, with the same result.

      Board: Duet 3 MB6HC (MB6HC)
      DSF Version: 3.3-rc2
      Firmware: RepRapFirmware for Duet 3 MB6HC 3.3RC2 (2021-05-11)

      The workaround I found was to manually edit the file using Notepad++ and change the "TIME" value in the g-code wile to the manually calculated printing time from the simulation result, but that's not ideal, nor expected.
      Is this a known issue with 3.3 RC2?

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

        @war4peace said in Simulate file done, but file is not updated in job list:

        I have also tried another file, a shorter one this time, with the same result.

        How big was the shorter file?

        Z-Bot CoreXY Build | Thingiverse Profile

        war4peaceundefined 1 Reply Last reply Reply Quote 0
        • war4peaceundefined
          war4peace @Phaedrux
          last edited by

          @phaedrux
          The shorter file was 5.9 MB.

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

            I think this is a current limitation of SBC mode.

            Z-Bot CoreXY Build | Thingiverse Profile

            chrishammundefined 1 Reply Last reply Reply Quote 0
            • war4peaceundefined
              war4peace
              last edited by

              Thank you. Just to clarify things, see if I understood it right:

              In SBC mode, DWC can run a file simulation, but can't write back the result, however it outputs the result to the Console. It is up to the user to update the GCode file appropriately with the calculated value.

              Am I correct in my assumptions?

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

                For now, yes, that seems to be the case. Perhaps @chrishamm can confirm.

                Z-Bot CoreXY Build | Thingiverse Profile

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

                  @phaedrux said in Simulate file done, but file is not updated in job list:

                  I think this is a current limitation of SBC mode.

                  This is wrong, DSF should update the simulation time at the end of a file once complete. Did you upload these files from DWC?

                  Duet software engineer

                  war4peaceundefined 1 Reply Last reply Reply Quote 1
                  • war4peaceundefined
                    war4peace @chrishamm
                    last edited by

                    @chrishamm
                    Hi, yes, I uploaded them through DWC, I started simulation from DWC, none of the simulated files update their "Simulated Time" column.

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

                      @war4peace Please upload one of the affected gcode files and I'll try to reproduce it.

                      Duet software engineer

                      war4peaceundefined 1 Reply Last reply Reply Quote 0
                      • war4peaceundefined
                        war4peace @chrishamm
                        last edited by

                        @chrishamm
                        All files are behaving the same way, uploading one I just tested again with the same result (Simulated Time value not updating).

                        https://drive.google.com/file/d/1atqgxgtkonFyCzTi3sX4H--P6o22qLrd/view?usp=sharing

                        Thanks!

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

                          @war4peace Thanks, I could reproduce this problem and it will be fixed in the next version.

                          Duet software engineer

                          war4peaceundefined 1 Reply Last reply Reply Quote 0
                          • war4peaceundefined
                            war4peace @chrishamm
                            last edited by

                            @chrishamm
                            Wonderful!
                            Thank you so much!

                            1 Reply Last reply Reply Quote 0
                            • war4peaceundefined
                              war4peace
                              last edited by

                              FYI Firmware 3.3 RC 3 did not fix the issue.

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