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

    Live data collection during print

    Scheduled Pinned Locked Moved
    Duet Web Control
    4
    4
    196
    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.
    • daniundefined
      dani
      last edited by

      Hi everyone,

      I am trying to find a way how to send live data from a Duet3D 2 to an arduino board. Currently I require to upload the live layer times from the layer chart but I can't seem to find a way how to download this data from the web interface.

      What is the best way to achieve this?

      Thanks in advance,
      Dan.

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

        You could try post processing your gcode file to add a M117 message command at every layer change and enable logging. I think each M117 would be echoed to the log which you could monitor and calculate the time between.

        I don't think there is currently any way to get the layer times reported but I could be wrong.

        Z-Bot CoreXY Build | Thingiverse Profile

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

          You might also try using M118 in your slicer layer change script.
          This would (should) allow sending the message via telnet or UART directly to the arduino.

          1 Reply Last reply Reply Quote 1
          • MintyTreborundefined
            MintyTrebor
            last edited by

            I think (from my spotty memory the last time I looked at the DWC code) that the layer chart is constructed in the client browser over time from the data obtained from the Machine Object Model.

            You can get access to the Machine Object Model by using the Rest API.

            Screenshot 2021-03-06 095759.png

            (I've circled the portion I think is relevant to you - sorry for crappy screen shot)

            You may have to pull the info you want on each layer change....

            NodeDSF - Native Node-Red integration with Duet boards.
            BtnCmd - Customise DWC with user defined buttons/layouts/panels (DWC Plugin)
            ReleaseMgr - Duet update info inside DWC.
            Repo

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