Solved Duet 3 +SBC : Print randomely freeze when runin my script on RPI
-
This post is deleted! -
The duet stop printing but the script continue
-
Many thanks for reporting this, I've just reproduced and fixed this problem. It will be fixed in the next version.
-
Are there come log that I can check to see what is appening in the Duet ?
Or what gcode is effetively executed . -
-
TBH I had some problems with your plugin but I've got a fix ready - at least I haven't been able to reproduce it with the latest dev version. This problem only showed up when two G/M/T-codes from two different G-code channels were frequently sent.
To work-around this problem try to send your
M106
code to the File channel (that's the same channel used for file prints) and consider adding a delay (e.g.await Task.Delay(1000);
) after it. The second parameter of PerformSimpleCode lets you choose the target channel. -
@chrishamm Great, I'll test that today.
I thought I was abandoned alone with my problem
-
@chrishamm said in Duet 3 +SBC : Print randomely freeze when runin my script on RPI:
await Task.Delay(1000);
The workaround seems to work but it gives me many "Error parsing response" in the PanelDuet console
-
@Donpi I tested your plugin with 3.2-RC1 and I no longer get unexpected crashes or other problems. In any case I recommend adding a short delay once object model updates have been received to reduce the CPU usage a bit.
-
Good to hear that
Thank you for the support