Live data collection during print
dani last edited by
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,
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.
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.
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.
(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....