synchronize prompts between DWC and PanelDue
-
I use M291 extensively for filament loading, unloading, and bed leveling
It seems random where the prompt shows up, sometimes it shows up on the PanelDue, sometimes it shows up on DWC, more often than not it shows up on DWC
It'd be nice if the prompt showed up on both, and dismissals are synchronized too
Or figure out where the last human interaction happened and display it there
(almost guaranteed if I launch a macro from PanelDue, it will NOT show the prompts on PanelDue, I think the file list windows blocks it or something)
Current workaround? I have a physical button that's bi-colour LED lit, it glows when a prompt is being shown and requires interaction
-
It should show up on both. Which firmware version are you using?
-
2.02 RRF, 1.22 on PanelDue 5i
actually, is there a good way of doing a "packet error rate" test on the UART cable between the Duet and the PanelDue?
updates to the PanelDue print status screen during printing is really... laggy, the fan turned on after layer 1 and it took a few minutes before the fan speed on PanelDue changed from 0 to 100
perhaps changing the baud rate would help but I'd like some diagnostics to help me see if it actually is helping
-
The Console page of PanelDue reports any checksum errors that are detected by the Duet in data received from PanelDue.
-
Turns out the problem is different, my script essentially freezes the whole PanelDue screen, very consistently
The script is here https://github.com/frank26080115/HephaestusConfig/blob/81012e0fb95a055abc9a190f876435627b9658a0/duet/sd_card/sys/filament_insert.g
When the motor first starts spinning at line 22, the prompt is not on the PanelDue screen
PanelDue is not updating temperatures, I realized this when I tried to insert filament while the temperature sensor got disconnected in the process and the Duet went into heater fault mode, and my filament wouldn't come out.
I added the M400 but it doesn't help
-
I've logged it as a bug that PanelDue doesn't update while it is waiting for a response to M291. Although the M291 prompt will cover much of the screen anyway.
-
@dc42 was this defect ever addressed? I am working on building macros which need interaction (ok / cancel) from the PanelDue using M291 S3. I cannot get the prompt to show up on the PanelDue - only DWC. My PanelDue 7i has been updated to the latest firmware (v1.24) and also running the latest firmware on the Duet 3.
-
@dc42 - what I've found in testing is the following command, entered directly into DWC, does prompt on the PanelDue.
M291 R"Test Prompt" P"Please select OK or Cancel" S3
However, when it is included within a macro, it does not prompt. It prompts within DWC in both cases, but not the PanelDue.
I should mention, these are macros stored on the SD card of the RPi connected to the Duet 3.
If anyone knows a workaround, or if I'm doing something wrong, I'm all ears - this is very critical to us and something we took for granted.. Thanks
-
@oozeBot said in synchronize prompts between DWC and PanelDue:
@dc42 - what I've found in testing is the following command, entered directly into DWC, does prompt on the PanelDue.
M291 R"Test Prompt" P"Please select OK or Cancel" S3
However, when it is included within a macro, it does not prompt. It prompts within DWC in both cases, but not the PanelDue.
I should mention, these are macros stored on the SD card of the RPi connected to the Duet 3.
If anyone knows a workaround, or if I'm doing something wrong, I'm all ears - this is very critical to us and something we took for granted.. Thanks
Thanks for the detailed description. I'll discuss this with @chrishamm because it sounds like the cause is the interaction (or lack of it) between RRF and DSF.
-
@dc42 / @chrishamm Please let us know if there is anything we can do to assist with testing and/or if there is a work-around. I'm afraid this one is very significant to us as it is blocking as user interaction on the PanelDue is required during initialization.
-
@dc42 / @chrishamm I just sat down to revisit this and have more info into the defect. I wrote a simple macro with only the following M291 command in it.
M291 R"Test Prompt" P"Please select OK or Cancel" S3
When ran from DWC, it does prompt on the PanelDue as expected. But when ran from the PanelDue, it only prompts in DWC - nothing is displayed on the PanelDue. I believe this should be easy to reproduce.
-
@oozeBot said in synchronize prompts between DWC and PanelDue:
@dc42 / @chrishamm I just sat down to revisit this and have more info into the defect. I wrote a simple macro with only the following M291 command in it.
M291 R"Test Prompt" P"Please select OK or Cancel" S3
When ran from DWC, it does prompt on the PanelDue as expected. But when ran from the PanelDue, it only prompts in DWC - nothing is displayed on the PanelDue. I believe this should be easy to reproduce.
I am unable to reproduce this. I created a macro with your m291 line in the macros folder. I can run it from DWC and it pops up in DWC and PanelDue. When I click ok, either in DWC or PanelDue they both are dismissed. Also vice versa.
DuetWifi fw 3.1.1, DWC 3.1.1, PanelDue V2 7inch fw 1.24, Using chrome.
Perhaps it's a PanelDue 7i thing?
-
@Phaedrux said in synchronize prompts between DWC and PanelDue:
M291 R"Test Prompt" P"Please select OK or Cancel" S3
I was just about to knock off work when I saw this and decided to test again.. the prompt displays in both DWC and the PanelDue when the macro is run from DWC, but only displays in DWC when run from the PanelDue..
FYI, this is a PanelDue 7i running firmware v1.24 on a Duet 3 / RPi combo firmware 3.1.1
I am hoping this has been captured as a defect or someone can tell me what I'm doing wrong..
Thanks!
-
@oozeBot said in synchronize prompts between DWC and PanelDue:
FYI, this is a PanelDue 7i running firmware v1.24 on a Duet 3 / RPi combo firmware 3.1.1
I'll have to try again tomorrow with Duet 3 + SBC.
-
@Phaedrux thanks - please note the behavior is only experienced when running the macro from the PanelDue.
-
@Phaedrux did you ever have a moment to confirm this issue? Thanks
-
Still getting my Duet 3 up and running. Hopefully I get a chance tomorrow as the weather is taking a turn for the worse.
-
I'd like to know if this has been confirmed as a defect by Duet?
I have two outstanding items concerning the Duet3/RPi and PanelDue that I do not see added to any roadmap or open issue list. I am hoping someone else with this configuration can quickly test to also confirm.
-
M291 S3 does not prompt on the PanelDue like it should (this item)
-
No macros appear on the Control tab like they should
-
-
I'm in the process of getting my Duet 3 and pi4 set up on the bench right now. It'll be the first thing I test.
-
Ran into some issues with my Argon Pi4 case and the GPIO passthrough to the Duet 3. Will have to try again tomorrow as it's late now and I still have to dig my PanelDue cabling out of the conduit to reach.