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

    Fetching Duet state from Raspberry

    Scheduled Pinned Locked Moved
    Gcode meta commands
    2
    4
    181
    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.
    • No2undefined
      No2
      last edited by

      Hi there,
      I was wondering if there is a way to fetch the current state of the duet from the raspberry (the exact line of GCode that is currently executed would be perfect)

      1 Reply Last reply Reply Quote 0
      • chrishammundefined
        chrishamm administrators
        last edited by chrishamm

        You should be able to use the line property like in echo line or M118 S{"Current line: " ^ line}. It should work both in SBC and standalone mode.

        Duet software engineer

        1 Reply Last reply Reply Quote 0
        • No2undefined
          No2
          last edited by No2

          That's actually the property i was looking for, problem is i dont know how to access the duet console from the raspberry (im using SBC mode), do you have a clue ?

          I am trying to access it in the raspberry, not in the web view console

          1 Reply Last reply Reply Quote 0
          • No2undefined
            No2
            last edited by

            Found it :
            i used the Pn parameter to redirect it to USB (P1), from there i just have to read the TTY output on the raspberry and do whatever i want with it

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