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

    Duet 3 SBC : C# Program

    Scheduled Pinned Locked Moved
    General Discussion
    3
    4
    176
    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.
    • Donpiundefined
      Donpi
      last edited by

      Hi everybody,

      In a other thread I asked for a way to start a fan on the Duet when the SBC is too hot.
      I received al the help I needed, thanks again.

      I am a bit low on free fan connectors, so I decided to run one only fan from the PI when the Duet or the PI are too hot. This works well to with a bash script.

      As I am prety good in C#, I want to try an other way to do it.

      Now here are my questions :

      • I read somewhere that the Duet program on the PI is writen in C#. If it's true , does it use Mono ?
      • How can I send GCODE to the Duet from c# ?
      • Are there any libraries that I can use tu get data from the Duet without GCODE ? If yes where and how can I access them ?

      Thanks
      Juan

      1 Reply Last reply Reply Quote 0
      • jay_s_ukundefined
        jay_s_uk
        last edited by

        Have you seen these two API's?
        One is written in golang and the other is written in python.
        https://github.com/Duet3D/DSF-APIs

        Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

        1 Reply Last reply Reply Quote 0
        • A Former User?
          A Former User
          last edited by

          if you look at the DSF sources for the CodeConsole program it would probably answer the question of how to do it in C#

          as for mono, no, i think it uses dotnet core for linux; you'll find more info https://github.com/Duet3D/DuetSoftwareFramework

          Donpiundefined 1 Reply Last reply Reply Quote 0
          • Donpiundefined
            Donpi @A Former User
            last edited by

            @bearer Yes I found the link right after posting ( as allways 😛 )

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