Logging only to SD card
-
I just received my Duet3Mini and I am getting close to completing a testing axis for my high temperature printer idea:
Full steel construction, IDEX, rack&pinion drive, liquid cooling for the stepper motors.
Still a lot to do (spring-loaded pinions, mounting the rack, liquid cooling loop, etcetera), but once this is complete and moves as I expect it to, I am going to put this in a climate chamber at up to 150 degrees C, moving. See how it holds up over 5000 moves or so. I also want to log temperatures and other data while doing so; the complete test will probably take long, the climate chamber is at work, and due to corona I can probably not babysit it the entire test duration in person.
Easy to setup temperature sensors and write them using daemon.g and M118, but how can I write only to the logfile enabled using M929? Normally the messages also appear in DWC message boxes, I just want to write to the file and not console.
(well, maybe telnet)Also, does anyone have a good tip for a liquid flow sensor that works on a fan input?
-
I think in RRF3.2 M118 will log only to file if you use the L parameter and omit the P parameter. This is mentioned at the end of the description in the GCode wiki.
-
M118 S"test2" L1
still shows a message box in DWC:
RRF 3.2 2021-01-05 / DWC 3.2.0 on a Duet 2 Wifi. Logging is enabled using M929 P"test.log" S1:
-
@DaBit said in Logging only to SD card:
M118 S"test2" L1
still shows a message box in DWC:
What you see there is not actually the message being logged (because that would only be "test2") but you see DWC's confirmation that your entered command was executed successfully.
Compare the difference to when you run
M118 S"test2" L1 P0
instead.
This extra bubble should not appear when you run your command from another source than the code input in DWC.
-
Of course.
Sorry for the confusion. I guess it was a bit late yesterday.