Duet3D Logo

    Duet3D

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • Documentation
    • Order

    User Variable Bug?

    Beta Firmware
    3
    4
    147
    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.
    • Print3d
      Print3d last edited by

      I've been playing around with object model variables and came across a strange bug. I noticed my DWC was running v3.2.2 while everything else was running V3.3-b2.

      Board: Duet 3 MB6HC (MB6HC)
      DSF Version: 3.3-b2
      Firmware: RepRapFirmware for Duet 3 MB6HC 3.3beta2 (2021-03-10)

      Under this configuration, "user variables" shows up in the object model tab of DWC... I'm not sure why DWC didn't update when I updated DSF so I manually uploaded the "DeutWebControl-SD-3.3-b2.zip" to bring everything up to the same rev. As expected, DWC rebooted and I confirmed DWC was now running 3.3b2 however now "user variables" in the object model tab have disappeared.

      To test this again, I downgraded DWC back to 3.2.2 and saw "user variables" re-appear. Upon upgrading DWC to 3.3b2 once more, "user variables" has again disappeared from the object model tab.

      To make matters more interesting, I tried creating a new variable in daemon.g by adding " var testing1 = 1;". Once saved, DWC console then pits out "Error: Failed to read code from macro daemon.g: Keyword Var is not supported in line 8"... I'm assuming its not recognizing the user variable because the "user variable" directory was somehow deleted during the upgrade?

      Has anyone else come across this bug or am I doing something wrong with my variable declaration syntax or DWC update procedure?

      I've uploaded a screenshot of DWS 3.3b2 to show "user variables" is missing.Object model screenshot.JPG

      1 Reply Last reply Reply Quote 0
      • gloomyandy
        gloomyandy last edited by

        If you are running in SBC mode I don't think that variables are supported by DSF in beta2. See known issues: https://github.com/Duet3D/DuetSoftwareFramework/blob/v3.3-dev/WHATS_NEW.md

        Print3d 1 Reply Last reply Reply Quote 0
        • Print3d
          Print3d @gloomyandy last edited by

          @gloomyandy That makes sense, I'm running SBC mode. Do you know if a hybrid solution has been tested by inserting an SD card with configuration files into the Duet3 board so all sys files are loaded stored locally, while still communicating with SBC?

          I haven't tried this at all but it would seem this hybrid solution would be the best of both worlds -- if it worked and one could manage to disable the Duet auto updates from SBC.

          jay_s_uk 1 Reply Last reply Reply Quote 0
          • jay_s_uk
            jay_s_uk @Print3d last edited by

            @print3d that's not supported. It's one or the other

            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
            • First post
              Last post
            Unless otherwise noted, all forum content is licensed under CC-BY-SA