synchronize prompts between DWC and 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.
-
@Phaedrux Thanks. We are still somewhat new to Duet and getting defects properly captured has been a bit of a challenge. One thing that I should have mentioned is that we have multiple Duet3 / RPi setups. We are testing the issues on multiple machines prior to posting..
I took some time this morning to take a new Duet3 and PanelDue out of the box, configured it to run in stand alone mode, and then updated both to the latest firmware (3.1.1 and 1.24).
When running the sample macro from the PanelDue in standalone mode, the prompt is displayed like it should. This confirms the issue is unique to a Duet3 / RPi setup as I've tested this on multiple setups.
Another issue I just confirmed, unless I just don't know what I'm doing, is that Macros are not showing up on the Control tab in both standalone and SBC mode..
Thanks
-
@oozeBot said in synchronize prompts between DWC and PanelDue:
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 can confirm that this is the case. When run from DWC is appears on both, when run from paneldue it only appears on DWC.
Duet 3 V0.6 , Pi4, PanelDue 5i v 1.24
-
@Phaedrux said in synchronize prompts between DWC and PanelDue:
@oozeBot said in synchronize prompts between DWC and PanelDue:
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 can confirm that this is the case. When run from DWC is appears on both, when run from paneldue it only appears on DWC.
Duet 3 V0.6 , Pi4, PanelDue 5i v 1.24
Thank you for confirming. This functionality is very important to us..
-
I could reproduce and fix this problem. The required fix is included in RRF/DSF 3.2.0-b1, which are now available from the
unstable
package feed.