Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login

    Logging only to SD card

    Scheduled Pinned Locked Moved
    Using Duet Controllers
    3
    5
    237
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • DaBitundefined
      DaBit
      last edited by

      I just received my Duet3Mini and I am getting close to completing a testing axis for my high temperature printer idea:

      alt text

      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?

      1 Reply Last reply Reply Quote 0
      • dc42undefined
        dc42 administrators
        last edited by dc42

        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.

        Duet WiFi hardware designer and firmware engineer
        Please do not ask me for Duet support via PM or email, use the forum
        http://www.escher3d.com, https://miscsolutions.wordpress.com

        1 Reply Last reply Reply Quote 0
        • DaBitundefined
          DaBit
          last edited by

          M118 S"test2" L1
          

          still shows a message box in DWC:

          63582a40-9bbf-46fe-bbbb-83929b4be48a-image.png

          RRF 3.2 2021-01-05 / DWC 3.2.0 on a Duet 2 Wifi. Logging is enabled using M929 P"test.log" S1:

          13321815-657f-40bb-bd0e-35c7c9671d7b-image.png

          wilrikerundefined 1 Reply Last reply Reply Quote 0
          • wilrikerundefined
            wilriker @DaBit
            last edited by

            @DaBit said in Logging only to SD card:

            M118 S"test2" L1
            

            still shows a message box in DWC:

            63582a40-9bbf-46fe-bbbb-83929b4be48a-image.png

            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.

            Manuel
            Duet 3 6HC (v0.6) with RPi 4B on a custom Cartesian
            with probably always latest firmware/DWC (incl. betas or self-compiled)
            My Tool Collection

            1 Reply Last reply Reply Quote 0
            • DaBitundefined
              DaBit
              last edited by

              Of course.
              Sorry for the confusion. I guess it was a bit late yesterday.

              1 Reply Last reply Reply Quote 0
              • First post
                Last post
              Unless otherwise noted, all forum content is licensed under CC-BY-SA