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

    Files sorting by date ?

    Scheduled Pinned Locked Moved
    PanelDue
    2
    5
    275
    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.
    • hareshPrajapatiundefined
      hareshPrajapati
      last edited by

      Is that any way to display Gcode files (sort by date) from sd card in PanelDue ?????

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

        @hareshprajapati not yet, but this is already on the wish list. https://github.com/Duet3D/PanelDueFirmware/issues/244

        dc42 created this issue in Duet3D/PanelDueFirmware

        open Add option to sort files by date in file list #244

        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

        hareshPrajapatiundefined 1 Reply Last reply Reply Quote 0
        • hareshPrajapatiundefined
          hareshPrajapati @dc42
          last edited by

          @dc42 Currently M20 Provides only file names
          I know there were some methods for timestamps also.

          But all I need to know is that how we can sort those files using timestamp ?

          have you any idea ? how to implement it in paneldue firmware side?

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

            @hareshprajapati PanelDue currently uses the M20 S2 command to fetch a list of filenames in JSON format. However, there is an undocumented M20 S3 variant that returns file details as well as the names, so PanelDue could use that one instead. The returned data is the same as for the rr_filelist HTTP call, see https://github.com/Duet3D/RepRapFirmware/wiki/HTTP-requests.

            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

            hareshPrajapatiundefined 1 Reply Last reply Reply Quote 0
            • hareshPrajapatiundefined
              hareshPrajapati @dc42
              last edited by

              @dc42

              Thank you for pointing out it.

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