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

Input Shaping plugin not collecting data using 3.5.0-beta.3

Scheduled Pinned Locked Moved Solved
Beta Firmware
6
24
905
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.
  • undefined
    dc42 administrators @tas
    last edited by 11 May 2023, 16:24

    @tas make sure that you have stopped and uninstalled the external IS plugin, to make sure you are using the internal one. I had the same issue when I tried to use the external plugin.

    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

    undefined undefined 2 Replies Last reply 11 May 2023, 16:29 Reply Quote 1
    • undefined
      chrishamm administrators @dc42
      last edited by 11 May 2023, 16:29

      @dc42 That step isn't necessary. DWC prefers built-in integrated plugins over external plugins.

      It sounds rather like there is an intermittent connection between Duet and LIS3 accelerometer.

      Duet software engineer

      undefined 1 Reply Last reply 11 May 2023, 16:33 Reply Quote 0
      • undefined
        dc42 administrators @chrishamm
        last edited by dc42 5 Nov 2023, 16:34 11 May 2023, 16:33

        @chrishamm it appeared to be necessary for me. I was running DWC 3.5.0-beta3+ and I started the IS plugin from the External Plugins page. The plugin wouldn't display any data until I stopped it, refreshed the browser page, uninstalled it, and ran the one on the internal plugins page.

        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

        undefined 1 Reply Last reply 11 May 2023, 16:37 Reply Quote 0
        • undefined
          chrishamm administrators @dc42
          last edited by 11 May 2023, 16:37

          @dc42 Right, the display is off then because there are two arrays of loaded plugins, one for integrated and another one for external plugins. But it should have loaded the correct integrated DWC plugin nevertheless.

          I'll make sure the external Input Shaping plugin is automatically uninstalled in the next beta.

          Duet software engineer

          undefined undefined 2 Replies Last reply 11 May 2023, 17:41 Reply Quote 0
          • undefined
            tas @dc42
            last edited by 11 May 2023, 17:40

            @dc42 Thank for that information.

            I checked they system folder and the first item listed in the dwc-plugins.json file is the 3.4.1 plugin. Later on there is other mention of the plugin. I have no idea how to edit this though.

            Here is my dwc-plugins.json:

            {"InputShaping":{"id":"InputShaping","name":"Input Shaping","author":"Duet3D Ltd","version":"3.4.1-b1","license":"GPL-3.0-or-later","homepage":"https://github.com/Duet3D/DSF-Plugins","tags":[],"dwcVersion":"3.4","dwcDependencies":[],"sbcRequired":false,"sbcDsfVersion":null,"sbcData":{},"sbcExecutable":null,"sbcExecutableArguments":null,"sbcExtraExecutables":[],"sbcOutputRedirected":true,"sbcPermissions":[],"sbcPackageDependencies":[],"sbcPythonDependencies":[],"sbcPluginDependencies":[],"rrfVersion":null,"dsfFiles":[],"dwcFiles":["css/InputShaping.6a82cdf5.css","css/InputShaping.6a82cdf5.css.gz","js/InputShaping.e93c66a9.js","js/InputShaping.e93c66a9.js.gz","js/InputShaping.e93c66a9.js.map","js/InputShaping.e93c66a9.js.map.gz"],"sdFiles":[],"pid":-1}}

            I think you are on to something here though.

            undefined 1 Reply Last reply 11 May 2023, 17:43 Reply Quote 0
            • undefined
              tas @chrishamm
              last edited by 11 May 2023, 17:41

              @chrishamm I vaguely remember uninstalling the manual plugin after the upgrade but I am not sure.

              If you check my dwc-plugins.json file above maybe it will give you a clue as to whether I did or not.

              Thanks for your help.

              1 Reply Last reply Reply Quote 0
              • undefined
                tas @tas
                last edited by 11 May 2023, 17:43

                @tas I should mention the current input shaping plugin is listed on the Integrated Plugins screen as 3.5.0-beta.3

                undefined 1 Reply Last reply 11 May 2023, 18:03 Reply Quote 0
                • undefined
                  tas @tas
                  last edited by 11 May 2023, 18:03

                  @tas Oh I am such an idiot.

                  I went to the External plugins tab and the Input Shaping Plugin 3.4.1 was right there. I uninstalled it.

                  I started the integrated plugin but unfortunately got the same result.

                  I did an Emergency Stop from DWC then rebooted the printer but both gave the same message. Refreshed the browser page with no luck either.

                  The dwc-plugins.json file now only contains {}.

                  @chrishamm I did check the wiring and all seems ok with the accelerometers. I have one installed on each of two printers. I did swap them just in case but both printers are behaving the same way.

                  I clearly did something wrong because I had both internal and external plugins installed at the same time.

                  I reinstalled the 3.5.0-beta.3 firmware but I still get the same message.

                  undefined 1 Reply Last reply 11 May 2023, 19:06 Reply Quote 0
                  • undefined
                    tas @tas
                    last edited by 11 May 2023, 19:06

                    @tas On the second printer I wasn't quite such an idiot and had uninstalled the external Input Shaping plugin. It still shows the 'Data collection cancelled' message.

                    undefined 1 Reply Last reply 12 May 2023, 06:45 Reply Quote 0
                    • undefined
                      chrishamm administrators @tas
                      last edited by 12 May 2023, 06:45

                      @tas You should inspect the connection between Duet and LIS3DH again.

                      Duet software engineer

                      undefined 2 Replies Last reply 12 May 2023, 10:45 Reply Quote 0
                      • undefined
                        tas @chrishamm
                        last edited by 12 May 2023, 10:45

                        @chrishamm OK. I will check all wiring today to make sure none has broken.

                        1 Reply Last reply Reply Quote 0
                        • undefined
                          tas @chrishamm
                          last edited by 12 May 2023, 13:39

                          @chrishamm I have checked the wiring on both printers and the modules have all wires connected. Both printers worked before with Input Shaping with the LIS3DH modules attached to them.

                          I removed one module from the printhead and placed it beside the printer. From the PanelDue console I ran M956 P0 S5000 A0.

                          A csv file was recorded in the System>Accelerometer folder. It had 5000 samples.

                          I then ran the Record Motion Profile from DWC with the following settings:
                          51cd2eac-01bf-4cae-8133-8d1e4bdc4ecb-image.png

                          and got this result:
                          56eb394b-9ee3-45a4-b4df-30a0f3b45f77-image.png

                          There was a file recorded with about 1000 samples: (Ignore the actual values recorded as the accelerometer is on the table, not on the printhead)
                          1-X55-170-0-none.csv

                          I am not sure what to check next. Any help greatly appreciated.

                          1 Reply Last reply Reply Quote 0
                          • undefined
                            ctilley79 @chrishamm
                            last edited by 12 May 2023, 14:31

                            @chrishamm said in Input Shaping plugin not collecting data using 3.5.0-beta.3:

                            @dc42 Right, the display is off then because there are two arrays of loaded plugins, one for integrated and another one for external plugins. But it should have loaded the correct integrated DWC plugin nevertheless.

                            I'll make sure the external Input Shaping plugin is automatically uninstalled in the next beta.

                            I had this same issue. I had weird behavior and seemed to have two versions of the input shaper plugin installed. I had to delete all and start from scratch.

                            undefined 2 Replies Last reply 12 May 2023, 14:32 Reply Quote 0
                            • undefined
                              tas @ctilley79
                              last edited by 12 May 2023, 14:32

                              @ctilley79 Thanks. I will give that a try now.

                              1 Reply Last reply Reply Quote 0
                              • undefined
                                tas @ctilley79
                                last edited by 12 May 2023, 17:44

                                @ctilley79 I went back to 3.4.5 and installed the external Input Shaping plugin.

                                Everything worked as expected and I was able to gather data normally.

                                I reupgraded to 3.5.0-beta.3 and I get "Data collection cancelled" again.

                                1 Reply Last reply Reply Quote 0
                                • undefined
                                  OwenD
                                  last edited by OwenD 5 Dec 2023, 21:37 12 May 2023, 21:34

                                  Duet 2 WiFi 3.5.0-beta.3+
                                  Duet WiFi Server 2.1beta4
                                  Duet Web Control 3.5.0-beta.3

                                  I get the same thing.
                                  I deleted the external plugin. Cleared the cache and refreshed DWC
                                  What I do note is that the file is actually recorded, but it isn't visible in the plugin motion analysis

                                  See screen capture

                                  IS.gif

                                  undefined 2 Replies Last reply 12 May 2023, 23:07 Reply Quote 0
                                  • undefined
                                    tas @OwenD
                                    last edited by 12 May 2023, 23:07

                                    @OwenD Thanks. At least I am not going crazy.

                                    I did notice there are files being created but I am not sure if they are valid.

                                    I got the same thing with 3.5.0-beta.3 and 3.5.0-beta.3+.

                                    1 Reply Last reply Reply Quote 0
                                    • undefined
                                      tas @OwenD
                                      last edited by 13 May 2023, 21:03

                                      @OwenD @chrishamm @dc42 I decided to look further into the files and you are absolutely correct @OwenD. The csv files are there and they appear to be valid, they just don't show up.

                                      I found a workaround. If you install DWC 3.4.5 then the external input shaping plugin, v3.4.1-b1 the input shaping works as expected and all of your files will be revealed. You can do more tests without errors.

                                      undefined 1 Reply Last reply 17 May 2023, 01:53 Reply Quote 0
                                      • undefined
                                        omni @tas
                                        last edited by 17 May 2023, 01:53

                                        @tas I am having the same problem, and I uninstalled the external plugin. But I found a workaround without going back to the old external plugin - just click the refresh icon on the profiles list and they will appear. I too get a message that it was not recorded, but in fact it was, it's just a small bug probably.

                                        undefined 1 Reply Last reply 17 May 2023, 13:27 Reply Quote 0
                                        • undefined
                                          tas @omni
                                          last edited by 17 May 2023, 13:27

                                          @omni Thanks for that you are correct. Much easier than going back to DWC 3.4.5.

                                          Just refreshing the profiles in the Motion Analysis tab brings up the latest run.

                                          However no matter what Input Shaper function or damping factor I apply the graphs are all pretty similar. I am not sure the data is valid. Also, in the Profile description it says 1 move but I asked for two. It always used to say 2 moves.

                                          I agree it is probably a small bug and will go away in the next release.

                                          undefined 1 Reply Last reply 17 May 2023, 14:47 Reply Quote 0
                                          11 out of 24
                                          • First post
                                            11/24
                                            Last post
                                          Unless otherwise noted, all forum content is licensed under CC-BY-SA