Has anything change in Control where the software doesn't remember the last directory used? I run Control on a Lubuntu laptop near my machine and have a dropbox shared folder between it and my main computer, which always opened when I hit the Open GCode button. Maybe few months ago (when I updated to a blackbox 32x and thus updated the software too) I noticed the change in behaviour, so it just opens a default OS window with other folder preselected. I couldn't find anything in my OS to that effect, so I guess it might be Control related. I found this Electron github issue that seemed relevant, but is really old.
Hi Peter! yep, 1.0.370. FWIW, under troubleshooting/Application Diagnostics there's an option to disable Native File Open Dialog. Disabling the option always takes me to the Desktop. Enabling it takes me to a "Recent Files" location. Neither opens the actual last folder used.
Is it possible to get Control to remember the last USB port used? I’m getting a bit tired of opening the pick list each time I power my machine on. #FirtWorldProblems
For those wondering what I mean, my control board is on virtual com port 2, but control defaults to the real com port 3 every time. Even junk like candle can recall the correct port, so it’d be nice if OB Control could too.
I had a similar problem with the units measurement. Have always used metric so didn't notice when the program opened and had switched itself to inches. You can imagine what happened when the Z axis received a -6.5 Gcode command. It only did it once but I check every time now.
It cannot do that. When you change between mm/inch, that selection is stored to LocalStorage OpenBuilds-CONTROL/app/js/jog.js at f3c9b79ecdea7bac5a151a3fbd776d5272162c6d · OpenBuilds/OpenBuilds-CONTROL for inch and OpenBuilds-CONTROL/app/js/jog.js at f3c9b79ecdea7bac5a151a3fbd776d5272162c6d · OpenBuilds/OpenBuilds-CONTROL for mm... When the application loads, it looks in Localstorage, loads the last selected unit: OpenBuilds-CONTROL/app/js/jog.js at f3c9b79ecdea7bac5a151a3fbd776d5272162c6d · OpenBuilds/OpenBuilds-CONTROL If one is not found (new install, or user cleared application data, etc) it defaults to Inch because the majority of our users are in the US, but again, only if NOT set (See line OpenBuilds-CONTROL/app/js/jog.js at f3c9b79ecdea7bac5a151a3fbd776d5272162c6d · OpenBuilds/OpenBuilds-CONTROL - is the "else" if localstorage doesn't contain a unitsMode entry - if at any time you entered mm-mode, mm-mode would have been set - until either set to Inch, or all application data deleted - so the else would not likely have been called) Happy to help, but please try to avoid false truths - they tend to transform into "facts" if not corrected. In this case I suspect you accidentally clicked the Inch mode tab at some point before shutting down for the day And THAT is why all your gcode should always set the modes it needs, never assume, its never implied. Set what you need. All our CAM posts sets inch/mm, relative/absolute and all other modals it needs. Should have been G90 G21 then G1 Z-6.5 (absolute positioning, in millimeters)
JS Macro, autorun, Code: $("#portUSB").data().select.val("COM3") (might need to wrap it in a setTimeout that waits for the portlist to be populated) or even save yourself all the clicks, just add an autorun JS macro that executes Code: selectPort("COM3") Then when control starts up it will autoconnect (untested, but basically thats the stuff JS macros are for)
So I upgraded my Control board to use Wifi which works really well, however, Control still doesn't recall the last connection used. Im honestly surprised no one else complains about the lack of this feature seeing as ioSender, UGS and many others all do this.
This works with IP addresses as well, remove the slashes to connect but might not work on run at startup $("#portUSB").data().select.val("192.168.10.22") //selectPort("192.168.10.22")
Very simple: 99% of people have exactly ONE serial port. The BlackBox. Why have you got multiple Serial Devices plugged into your CNC machine computer? or if its an oldie with an onboard DB9 on the backplate disable it in the BIOS? There really are bigger fish to fry when we work on CONTROL. Also, provided you with the Macro info already. We'll consider this settled thanks.
Code: setTimeout(function() { $("#portUSB").data().select.val("COM3"); selectPort("COM3") }, 5000); // 5000 milliseconds = 5 seconds And then just make the macro
LOL, I didn't think of asking AI, previously when I've tried programming questions, the results have been more miss than hit. PS, the reason I have "multiple serial ports" is due to the virtual port my ESP32 board creates.
Long story short, less complaints more experiments. We'd like to reserve our time for OpenBuilds Customer's CONTROL issues and questions. Considering this resolved now. Thanks Alternative hey google teach me what a javascript settimeout is - Google Search
I understand your point, however when you are working on a CNC re-build and there are multiple controller power cycles and firmware rebuilds, Control not automatically defaulting to the last port used, gets annoying fast.
Thank you, this plus the delay code from @Peter Van Der Walt worked great! Code: setTimeout(function() { $("#portUSB").data().select.val("192.168.10.22") selectPort("192.168.1.120") }, 5000); // 5000 milliseconds = 5 seconds
hello I’m setting up my new black box X 32 with the touch interface. Everything was working fine until I connected it to the openbuild control software. At which point my Z still works but my X and Y do something to stop everything when I touch them the machine vibrates like it’s going to start moving but then everything stops working. The touch interface stops working open builds control software stops working. I have to do a reset on everything to get it to work again but now only z works my X and Y kill the machine. Thanks
Grbl settings backup for review: CONTROL > Grbl Settings tab > Backup settings button Any 3rd party (not from OpenBuilds) components on the machine? (Power supply, motors, etc)
$100=133333.000 ; X-axis steps per millimeter $101=133333.000 ; Y-axis steps per millimeter Probably that. Way to high - those numbers imply you have a drive system that moves 0.00006 millimeters per rotation
By that question, I guess we can assume you haven't read the required reading yet? Grbl v1.1 Configuration