#linuxcnc Logs

Apr 27 2024

#linuxcnc Calendar

12:55 AM Deejay: moin
02:11 AM lcnc-relay: <skiboy> https://jauriarts.org/_matrix/media/v3/download/jauriarts.org/CpwNKDMclkTHdwaKHlkyxQix/IMG_20240422_194036.jpg
02:11 AM lcnc-relay: <skiboy> I still have the lathe I have to retrofit
02:16 AM XXCoder: interesting to see covers for one
02:16 AM XXCoder: those older models tend to not have one
04:05 AM JT-Cave: morning
04:14 AM Tom_L: morning
04:15 AM Tom_L: JT-Cave, any ideas? http://tom-itx.no-ip.biz:81/~webpage/cnc/JT-SHOP/flexgui/flex_not_responding.png
04:16 AM Tom_L: tries to start lcnc then freezes up
04:16 AM Tom_L: same with my ui
04:18 AM Tom_L: axis is ok
04:23 AM JT-Cave: that doesn't tell me anything
04:23 AM Tom_L: that happens when i try to close the app with the X
04:23 AM Tom_L: otherwise none of the buttons work and the app is frozen
04:24 AM Tom_L: nothing else to indicate an error
04:24 AM Tom_L: o
04:25 AM Tom_L: i've no idea
04:26 AM Tom_L: do you have a list of dependencies for a pyqt app to work?
04:26 AM Tom_L: i wonder if one got corrupt somehow
04:27 AM Tom_L: i've tried uninstalling flexgui and rebuilding fresh from source and it doesn't seem to matter
04:28 AM JT-Cave: is this on a rpi?
04:29 AM Tom_L: no, on the main amd pc
04:29 AM Tom_L: same one i've been testing on from the start
04:30 AM Tom_L: i dug out a ssd and may try a fresh install after bit. that's why i wondered about the dependencies
04:31 AM JT-Cave: yup I get that too so I've screwed up
04:31 AM Tom_L: oh?
04:32 AM Tom_L: something in the last update?
04:44 AM -!- #linuxcnc mode set to +v by ChanServ
05:47 AM JT-Cave: can't wait to text a couple of photos to that woman from the PDR
06:01 AM JT-Cave: gotta love it when you fix one mistake and it causes an error due to the difference between pyqt5 and pyqt6
06:37 AM lcnc-relay: <travis_farmer> Morning
07:49 AM Tom_L: JT-Cave, that one had me a bit worried :)
07:49 AM Tom_L: it's working here
07:51 AM Tom_L: PDR? is that the pharmacy?
07:56 AM Tom_L: PR #7 for the rpi
08:03 AM JT-Cave: Performance Data Recorder
08:03 AM Tom_L: does that show it happening??
08:03 AM JT-Cave: I have a weird issue with flex and if I run it stand along none of the buttons are disabled
08:03 AM JT-Cave: yes it shows everything with audio as well
08:04 AM Tom_L: ahh that's cool
08:04 AM Tom_L: the button issue is yours not here
08:04 AM Tom_L: i run standalone for testing
08:04 AM JT-Cave: hmmm
08:04 AM JT-Cave: no wonder I can't find it
08:05 AM Tom_L: they seem fine here
08:06 AM Tom_L: you also gave jogging a non zero default on startup :)
08:09 AM JT-Cave: doesn't want to reboot says some unknown programs are running lol
08:11 AM -!- #linuxcnc mode set to +v by ChanServ
08:11 AM Tom_L: odd thing, that last error some of the text labels just showed 'Textlabel' not their value
08:11 AM Tom_L: the patch took care of that as well
08:15 AM rdtsc_away is now known as rdtsc
08:16 AM JT-Cave: startup here https://pasteboard.co/EOkT2QZq0jyf.png
08:16 AM JT-Cave: note E Stop Open as it should be
08:18 AM Tom_L: i'm running an older xyz version
08:18 AM Tom_L: doesn't have the run etc buttons
08:18 AM Tom_L: lemme update it
08:19 AM JT-Cave: nothing is disabled here
08:21 AM Tom_L: http://tom-itx.no-ip.biz:81/~webpage/cnc/JT-SHOP/flexgui/Estop_open_state.png
08:21 AM Tom_L: mine is still different
08:21 AM Tom_L: no power button
08:22 AM Tom_L: did you push that one?
08:23 AM JT-Cave: actionPower and power_pb should be disabled
08:23 AM Tom_L: something with your power button
08:23 AM JT-Cave: https://pasteboard.co/mjv9A6uCukiH.png
08:24 AM Tom_L: adding the power button changed something
08:24 AM JT-Cave: https://pasteboard.co/DhdFVjDFqDNS.png
08:24 AM JT-Cave: deleted the power button and still the same
08:24 AM Tom_L: odd
08:25 AM Tom_L: did you update the right copy?
08:25 AM Tom_L: i've been guilty of that
08:25 AM JT-Cave: If I click estop then all the correct buttons are disabled so it's something in startup.py sigh
08:27 AM Tom_L: odd, it works here
08:27 AM Tom_L: http://tom-itx.no-ip.biz:81/~webpage/cnc/JT-SHOP/flexgui/estop_closed.png
08:27 AM Tom_L: that's from the most recent pull
08:28 AM Tom_L: estop open & closed states
08:28 AM JT-Cave: yup if I toggle the estop everything is correct
08:29 AM Tom_L: from the button or from the menu?
08:29 AM Tom_L: well it's not a button so it must be the menu
08:30 AM Tom_L: power was the one you added as a button
08:31 AM Tom_L: make sure the running code is current because it looks ok here
08:32 AM JT-Cave: hmm
08:34 AM Tom_L: i recaptured the imgs to be sure: http://tom-itx.no-ip.biz:81/~webpage/cnc/JT-SHOP/flexgui/Estop_open_state.png
08:34 AM Tom_L: http://tom-itx.no-ip.biz:81/~webpage/cnc/JT-SHOP/flexgui/Estop_closed_state.png
08:38 AM Tom_L: there is some sort of problem
08:38 AM Tom_L: no.. nevermind i didn't home yet
08:39 AM Tom_L: http://tom-itx.no-ip.biz:81/~webpage/cnc/JT-SHOP/flexgui/Estop_closed_power_on_homed.png
08:40 AM Tom_L: with the latest pull aside from the rpi deb
08:41 AM Tom_L: you must have some test code mixed in somewhere
08:49 AM rdtsc: Morning gents. Rpi4b available for testing. :)
08:53 AM Tom_L: JT-Cave, i added the power button: http://tom-itx.no-ip.biz:81/~webpage/cnc/JT-SHOP/flexgui/Estop_open_state_powerbutton.png
08:53 AM Tom_L: http://tom-itx.no-ip.biz:81/~webpage/cnc/JT-SHOP/flexgui/Estop_closed_state_powerbutton.png
08:53 AM Tom_L: with the estop state change shown
08:55 AM Tom_L: and homed: http://tom-itx.no-ip.biz:81/~webpage/cnc/JT-SHOP/flexgui/Estop_closed_state_powerbutton_homed.png
08:57 AM Tom_L: rdtsc, today's rpi deb is here: http://tom-itx.no-ip.biz:81/~webpage/cnc/JT-SHOP/flexgui/
08:57 AM Tom_L: jt hasn't updated the repo yet
09:03 AM JT-Cave: hmm found another issue
09:06 AM rdtsc: Works Tom, thanks. Here's what I've got so far. Haven't looked into greyed-out items yet. https://pasteboard.co/s5EXpfnTvD2a.png
09:09 AM rdtsc: One thing I have noticed, is that every time e-stop or machine-on is toggled, I get a "task: main loop took 0.115040 seconds" or so in linuxcnc
09:10 AM rdtsc: likely not an issue, but seems to take awhile for some reason.
09:13 AM rdtsc: Edit and Reload become available when a .ngc is loaded. Investigating the others (likely my config)
09:16 AM Tom_L: rdtsc, you can't do either without a file loaded so they are greyed out
09:25 AM rdtsc is now known as rdtsc_away
09:33 AM JT-Cave: now that's weird the buttons have the proper state on a different pc...
09:34 AM Tom_L: you're running something you're not aware of yet
09:34 AM Tom_L: did you build the deb and install it?
09:35 AM Tom_L: bad weather due in this PM
09:35 AM JT-Cave: yup and rebooted too
09:37 AM Tom_L: gremlins
09:41 AM Tom_L: when i was converting jet i had to reenter some names before they would work and the names were the same... go figure
09:55 AM Tom_L: will be moving the trucks to a parking garage today... based on what happened in Iowa/Nebraska
09:56 AM Tom_L: we're supposed to get similar today
09:57 AM JT-Cave: I installed flex on this pc and another one and allowed it to copy the examples then ran xyz on both the other pc is fine
09:57 AM JT-Cave: this one nothing gets disabled...
09:58 AM Tom_L: airforce is moving all their tankers & both zoos are moving the animals underground
09:58 AM JT-Cave: wow
09:58 AM Tom_L: you got a bug looming on that pc sir
09:59 AM Tom_L: so the flex count is 3 to 1. i'm voting for the 3 to be correct
10:00 AM Tom_L: that bug this morning had me installing 12 on another ssd :)
10:01 AM rdtsc_away is now known as rdtsc
10:01 AM Tom_L: gonna run a few errands bbl
10:37 AM rdtsc is now known as rdtsc_away
10:42 AM rdtsc_away is now known as rdtsc
11:31 AM Tom_L: JT-Cave, PR #8 for 0.1.4 is up
11:32 AM Tom_L: rdtsc, new deb on my site as well
11:43 AM lcnc-relay: <lucianooliveira.> Hi
11:45 AM lcnc-relay: <lucianooliveira.> Guys, I'm new to Linux cnc, I managed to configure a lot of things, with the topics and videos, but I'm not able to configure the probe, can you help?
11:45 AM Tom_L: what gui?
12:03 PM JT-Shop: looks like you have some severe weather heading your way Tom_L
12:27 PM JT-Cave: tally ho launch video up
12:27 PM Tom_L: nice
12:28 PM Tom_L: yeah we tried our normal parking garage but it was jam packed so we paid for long term @ the airport garage
12:28 PM Tom_L: and it was also full but managed to find a couple spots
12:29 PM Tom_L: her instagram had a video onboard a plane landing in Omaha with a tornado at the end of the runway
12:30 PM Tom_L: Omaha or Lincoln
12:31 PM Tom_L: better paying than an insurance claim to fiddle with
12:34 PM JT-Shop: finally figured out the bug and I think it had to do with the speed of the pc
12:41 PM Tom_L: huh, that's odd for sure
12:41 PM Tom_L: too fast?
12:41 PM Tom_L: working on the dryer vent between irc
12:42 PM JT-Shop: that's my guess
12:43 PM JT-Shop: must have been my macaroni code lol
12:53 PM lcnc-relay: <skunkworks8841> what is the difference between spegetti and macaroni code?
12:54 PM Tom_L: rain has begun
12:57 PM Unterhaus_ is now known as Unterhausen
01:29 PM rdtsc: spaghetti is multi-threaded
01:32 PM JT-Shop: spaghetti is thinner
01:40 PM Tom_L: macaroni has holes
01:41 PM JT-Shop: that too
01:41 PM Tom_L: ok drier vent is done
01:48 PM Tom_L: ok what else can i tear up
01:48 PM JT-Shop: flex
01:49 PM Tom_L: have you tested ALL the widgets? more obscure ones
01:51 PM JT-Shop: I can't remember lol
01:52 PM JT-Shop: going to test the chicken wings to see if they are thawed out yet...
01:52 PM Tom_L: i was gonna ask about the coolant buttons if you may want to switch them to mdi commands so they will register
01:54 PM Tom_L: mdi M9 doesn't reset the button greyed out on those
01:58 PM JT-Shop: which button?
02:00 PM Tom_L: flood or mist
02:04 PM Tom_L: is there a button to resume from an OP stop?
02:04 PM Tom_L: kindof a dead end there
02:05 PM Tom_L: pushing OpStop again, step, resume don't cause it to run again
02:06 PM JT-Cave: so you pressed the flood or mist button then issued a M9 MDI?
02:06 PM JT-Cave: what is OP stop?
02:06 PM Tom_L: or both
02:06 PM Tom_L: yes
02:07 PM Tom_L: op stop is an M1 in the code
02:07 PM Tom_L: M1 - pause a running program temporarily if the optional stop switch is on. LinuxCNC remains in the Auto Mode so MDI and other manual actions are not enabled. Pressing the resume button will restart the program at the following line.
02:07 PM Tom_L: resume should restart at the next line but it doesn't
02:07 PM Tom_L: it resets to the start of the program at that point
02:09 PM Tom_L: ok resume worked that time
02:09 PM Tom_L: i think OpStop is ok
02:11 PM Tom_L: usually M1 is a physical switch and M0 pauses no matter what
02:12 PM Tom_L: but it's doing what it's supposed to
02:14 PM Tom_L: spindle faster, spindle slower used to increment the spin box but now they don't
02:15 PM Tom_L: the faster/slower buttons
02:16 PM rdtsc: It isn't clear what Mennil means by this, for gremlin: https://forum.linuxcnc.org/41-guis/51580-flexible-gui?start=20#299195
02:25 PM Tom_L: the 'zoom' slider is uber sensitive
02:26 PM Tom_L: not sure what the other 3 do
02:27 PM Tom_L: rdtsc, did you run the file?
02:31 PM Tom_L: JT-Cave, sometime can you list the packages that need installed to work on / run qtpy/flex?
02:31 PM Tom_L: i need it in my notes in case things go south here
02:34 PM JT-Cave: qtpy?
02:34 PM Tom_L: whatever we're using yes
02:34 PM JT-Cave: pyqt6
02:34 PM Tom_L: v5 designer i know
02:34 PM Tom_L: but what's the package name
02:34 PM Tom_L: etc
02:34 PM JT-Cave: yup
02:34 PM Tom_L: ^^ you see the spindle up dn buttons are broke?
02:35 PM JT-Cave: flexgui/info/depenencies.txt
02:35 PM Tom_L: can't find that site
02:35 PM Tom_L: well i see why now too
02:35 PM Tom_L: :)
02:35 PM Tom_L: run that py file ^^
02:35 PM Tom_L: in rdtsc's link
02:36 PM JT-Cave: well debian/control has all but designer in it
02:37 PM JT-Cave: gotta work on the wings a bit
02:37 PM Tom_L: dependencies.txt wasn't what i meant
02:37 PM Tom_L: sudo apt install ???
02:43 PM rdtsc: Tom_L I tried duplicating Mennil's QWidget with promoted class. It was giving a python missing file error until I realized that qt6_graphics in his example should be the name of the python code file. Then it starts without error, but the qwidget is unaffected. Really surprised it's not giving an error about QT6, as we've only installed QT5 on this Rpi.
02:44 PM Tom_L: cross your fingers... or just give it more time
02:52 PM lcnc-relay: <skunkworks8841> flexui really looks cool...
02:52 PM lcnc-relay: <skunkworks8841> It will be interesting how far people take it.
02:53 PM JT-Shop: I will look at his code and see if I can use it without promoting it as I don't want users to have to do anything complicated to use flexgui
02:53 PM lcnc-relay: <skunkworks8841> ugh. I got to get back to wiring the g506.. headlights/brake lights would be nice..
02:53 PM lcnc-relay: <skunkworks8841> turn signals..
02:53 PM lcnc-relay: <skunkworks8841> I have to break into the brake lines to add a pressure switch..
02:54 PM JT-Shop: can't you add a switch on the brake pedal?
02:54 PM lcnc-relay: <skunkworks8841> I could. but would have to find a place to mount it. This is a through the floor brake pedal..
02:55 PM rdtsc: a stainless spring is your friend there
02:56 PM rdtsc: to the brake switch that is. no complicated travel considerations, robust.
02:57 PM lcnc-relay: <skunkworks8841> pushing
02:59 PM Tom_L: it's noisy outside
03:00 PM JT-Cave: Tom_L, did you try the flood and mist?
03:01 PM Tom_L: no not yet
03:01 PM JT-Cave: lots of red on the map near you
03:01 PM Tom_L: damn, i turn my back and i'm 8 commits behind!!
03:01 PM JT-Cave: and how many releases?
03:02 PM Tom_L: ooo fancy... we're moving up in the world
03:03 PM JT-Cave: lol
03:04 PM JT-Cave: you can mdi the coolant and the buttons change states
03:04 PM Tom_L: so i see
03:04 PM Tom_L: still not showing in status but that's a different code layer
03:05 PM JT-Cave: yup that's emc not me
03:05 PM Tom_L: spindle + - buttons still broke
03:05 PM Tom_L: they used to work
03:06 PM Tom_L: to change the spin box
03:06 PM Tom_L: and there was something odd about the - button
03:07 PM Tom_L: if you increment the spindle RPM then use the - button to decrement it stops at 199
03:07 PM JT-Cave: https://github.com/jethornton/flexgui/blob/master/flexgui/src/libflexgui/status.py#L168
03:07 PM Tom_L: when it worked
03:07 PM JT-Cave: must be a min spindle speed
03:08 PM Tom_L: right now neither button works
03:08 PM JT-Cave: https://github.com/jethornton/flexgui/blob/master/flexgui/src/libflexgui/commands.py#L272
03:09 PM JT-Cave: neither button?
03:09 PM Tom_L: spindle faster, spindle slower
03:09 PM JT-Cave: ok
03:09 PM Tom_L: on yours
03:09 PM Tom_L: mine are just + -
03:10 PM Tom_L: and the odd thing with the 'slower' one
03:11 PM Tom_L: start xyz up and power on etc and look at the default 99 spindle speed and press spindle fwd
03:11 PM Tom_L: shows 199 for speed
03:12 PM Tom_L: changes after that seem correct
03:14 PM Tom_L: i see.. with the spindle on the faster/slower buttons register on the speed but not the spin box
03:14 PM JT-Cave: https://www.youtube.com/watch?v=Pmme7UGHsDY
03:14 PM Tom_L: if the spindle is on
03:14 PM Tom_L: with the spindle off they do nothing
03:14 PM JT-Cave: [SPINDLE_0]
03:14 PM JT-Cave: INCREMENT = 250
03:14 PM JT-Cave: MIN_FORWARD_VELOCITY = 500
03:14 PM JT-Cave: MAX_FORWARD_VELOCITY = 6000
03:15 PM JT-Cave: https://www.youtube.com/watch?v=Pmme7UGHsDY
03:15 PM Tom_L: they used to update the spin box
03:15 PM Tom_L: i'm not sure where my [spindle0] settings are atm. they've been overwritten several times
03:17 PM -!- #linuxcnc mode set to +v by ChanServ
03:17 PM Tom_dev: mine:
03:17 PM Tom_dev: [SPINDLE_0]
03:17 PM Tom_dev: MIN_FORWARD_VELOCITY = 0
03:17 PM Tom_dev: MAX_FORWARD_VELOCITY = 5500
03:17 PM Tom_dev: INCREMENT = 10
03:21 PM Tom_L: http://tom-itx.no-ip.biz:81/~webpage/cnc/JT-SHOP/flexgui/spindle_speed.png
03:21 PM Tom_L: they seem to be interferring with each other
03:21 PM Tom_L: not sure if they're getting multiplied or just what
03:22 PM JT-Cave: spindle fwd/rev use the spin box setting so if it's set at 99 that's what you get
03:22 PM Tom_dev: lemme give you a sequence to try
03:23 PM Tom_dev: one sec
03:26 PM Tom_dev: set the spin box to 100, spindle fwd, spindle faster x3 (400), spindle stop, spindle fwd(400), spin box is still 100
03:26 PM Tom_dev: and speed is 400
03:26 PM JT-Shop: yup
03:27 PM JT-Shop: there is some work to do on spindle
03:27 PM Tom_dev: shouldn't they stay in sync?
03:27 PM Tom_dev: when i did that on mine it appeared to multiply them
03:28 PM Tom_dev: that's why the spindle_speed.png above shows 1710
03:28 PM Tom_dev: i didn't push the button to get it there, rather just a few times
03:29 PM JT-Shop: https://github.com/jethornton/flexgui/blob/master/flexgui/src/libflexgui/commands.py#L272
03:29 PM JT-Shop: = - spindle uses the ini setting
03:31 PM Tom_dev: on tom.ui: spindle fwd (default is 100), + x3 (130),spindle stop, spindle fwd: speed 400
03:32 PM Tom_dev: my increment in the ini is 10
03:33 PM JT-Shop: parent.command.spindle(emc.SPINDLE_INCREASE)
03:33 PM XXCoder: jt I notice that some panels change size as you click increase
03:34 PM Tom_dev: some resize to fit the text i think
03:34 PM JT-Shop: yup they resize to fit the contents unless you make them a fixed size and large enough
03:34 PM Tom_dev: for my purpose i don't care about that part for testing
03:35 PM Tom_dev: that's more a personality setting
03:35 PM JT-Shop: yup, me neither
03:37 PM rdtsc: got Mannil's qt6_graphics.py to work. I had the QWidget using the objectName of Lcnc3d_Graphics. That's wrong, it needs to be Lcnc_3dGraphics.
03:37 PM rdtsc: <-- oversight king
03:37 PM Tom_L: i'd blame that on a faulty keyboard personally
03:38 PM Tom_L: i'll go ahead and push another rpi one since there were a whopping 8 commits
03:38 PM JT-Shop: ok
03:39 PM Tom_dev: + 1 more :)
03:41 PM Tom_dev: #9 up
03:41 PM JT-Shop: ok
03:41 PM Tom_L: rdtsc, there was a version change
03:43 PM rdtsc: k, checking
03:45 PM JT-Shop: Tom_L, I'm thinking that it might be better to put a menu item in the CNC menu to copy the examples for flexgui
03:45 PM Tom_dev: yeah
03:45 PM Tom_dev: oh on the OS menu?
03:46 PM Tom_dev: don't delete anything else, just update the ones in flex
03:47 PM JT-Shop: ?
03:47 PM Tom_dev: in linuxcnc/configs/examples
03:47 PM JT-Shop: flex_examples
03:47 PM Tom_dev: in linuxcnc/configs/flex_examples
03:47 PM Tom_dev: you knew :)
03:48 PM JT-Shop: yup I would just copy if flex_examples is not there and ask to over write
03:48 PM Tom_dev: it would be good to keep the ones in flex up to date without disturbing anything else in there
03:48 PM JT-Shop: in where?
03:48 PM Tom_dev: i've overwritten my ini several times
03:48 PM Tom_dev: in linuxcnc/configs/flex_examples
03:49 PM Tom_dev: i've been trying to stick with the default from the repo
03:49 PM Tom_dev: whatever.. i keep backups anyway
03:50 PM Tom_dev: do what you think the average user would like
03:50 PM JT-Shop: that's just a guess on my part without feedback
03:52 PM Tom_dev: i've forgotten how/when you ask to install those anyway
03:52 PM JT-Shop: right now it asks if the directory is not there
03:52 PM Tom_dev: no wonder it never asks me
03:53 PM JT-Shop: seems like a bit of a catch 22 to ask when running flexgui as you have to have a config to run it
03:54 PM Tom_dev: well project 3 will be to incorporate mesact with flex to create that ini
03:55 PM JT-Shop: mesact does create a flexgui if flexgui is installed :)
03:55 PM rdtsc is now known as rdtsc_away
03:57 PM Tom_dev: ie: if the spindle is used make sure it has a [spindle_0] section etc
03:57 PM JT-Shop: in mesact?
03:58 PM Tom_dev: if it makes a flexgui config why not?
03:59 PM Tom_dev: probably alot to consider but the cool factor is way up there
03:59 PM JT-Shop: I'm not sure if mesact creates a spindle_0 section but I 'think' it does
04:00 PM Tom_dev: you pretty much already know what ini settings affect flex
04:00 PM Tom_dev: you'd just have to check for installed flex widgets and make sure they're satisfied
04:01 PM JT-Shop: flex does that
04:01 PM Tom_dev: i think most of it would be setting limits on things
04:01 PM Tom_dev: max accel, max spindle etc etc
04:02 PM JT-Shop: https://github.com/jethornton/flexgui/blob/master/flexgui/src/libflexgui/startup.py#L758
04:02 PM Tom_dev: right
04:05 PM Tom_dev: i'd remove the jet_tom.ui from examples
04:06 PM JT-Shop: ok
04:06 PM Tom_dev: that's kinda leftover
04:06 PM Tom_dev: not even sure how much of it works at this point
04:08 PM rdtsc_away is now known as rdtsc
04:11 PM Tom_dev: start_line_lb still needs fixed
04:13 PM Tom_dev: check OpStop... it wasn't pressed but the program paused on M1 this time
04:15 PM JT-Shop: what's wrong with start_line_lb?
04:29 PM Tom_dev: doesn't display anything
04:29 PM JT-Shop: ok
04:29 PM Tom_dev: yeah i tried OpStop a 2nd time not pressed and it paused on M1
04:29 PM Tom_dev: unless it's pressed it should ignore M1
04:34 PM rdtsc: 0.2.0 installed fine. Loaded chips.ngc, Lcnc_3dGraphics did not update. Currently forcing hardware to home using halshow (not finished yet.) After home, Run button becomes available. Run gave Error invalid params in linear command, but likely something misconfigured still on my end.
04:34 PM rdtsc: https://pasteboard.co/sa2AOR82nazM.png
04:37 PM rdtsc: likely MDI / tool #1 etc
04:37 PM * CaptHindsight 's first sight of that GUI
04:38 PM CaptHindsight: buttons remind me of Touchy
04:38 PM Tom_L: built with flex and he's working on the plotter code
04:38 PM Tom_L: you can put things wherever you want
04:40 PM CaptHindsight: I haven't touched LCNC except in simulations for over a year, closer to two
04:40 PM Tom_L: https://www.gnipsel.com/linuxcnc/flexgui/index.html
04:41 PM rdtsc: FlexGUI is rapidly growing. :)
04:41 PM Tom_L: how it differs is the code follows the widget
04:41 PM Tom_L: estop is connected to lcnc estop etc
04:42 PM Tom_L: thru the python interface
04:43 PM Tom_L: http://tom-itx.no-ip.biz:81/~webpage/cnc/JT-SHOP/flexgui/Estop_closed_power_on_homed.png
04:43 PM Tom_L: a text variation
04:44 PM Tom_L: just roll your own qss file
04:45 PM JT-Shop: Tom_L, optional stop may not work if not toggled but I thought I fixed that lol
04:46 PM Tom_dev: it seemed to work for a bit but not now
04:47 PM Tom_L: CaptHindsight, https://forum.linuxcnc.org/41-guis/51580-flexible-gui?start=20
04:48 PM CaptHindsight: YAPGUI
04:48 PM CaptHindsight: yet another python GUI
04:49 PM Tom_L: without the coding
04:49 PM JT-Shop: flexgui is not like any other gui as they are all static
04:50 PM JT-Shop: and require you to use their ideas
04:51 PM rdtsc: This is how the GUI is created: https://pasteboard.co/kinyy6kIwMhd.png
04:52 PM JT-Shop: drag and drop and name and done
04:53 PM CaptHindsight: https://forum.linuxcnc.org/38-general-linuxcnc-questions/50268-trajectory-planner-using-ruckig-lib?start=0
04:54 PM Tom_L: saw that the other day
04:56 PM Tom_L: JT-Shop, you get the bailer fixed?
04:57 PM JT-Shop: no, they had a tractor hooked up to it when a valve that the professionals fixed blew out an o ring and started spraying oil all over
04:58 PM JT-Shop: using the tractor hydraulics to operate the baler
04:58 PM Tom_L: yeah
04:58 PM Tom_L: some can do little more than trip over their own feet
05:00 PM JT-Shop: the second guy had no clue what he was doing and wired the hot to the neutral in the valves and wondered why the fuse was blowing
05:00 PM rdtsc: (o) (o)
05:01 PM Tom_L: how many boxes of fuses did he go thru before...
05:01 PM CaptHindsight: neutrals and grounds, what is the difference?
05:01 PM JT-Shop: there was a couple of empty boxes
05:01 PM JT-Shop: they are spelled different
05:02 PM Tom_L: CaptHindsight, not sure.. one is tied to a ground rod
05:02 PM Tom_L: neutral is between fwd & reverse
05:02 PM rdtsc: Neutral = Switzerland
05:03 PM JT-Shop: neutral hides between first and second
05:03 PM Tom_L: Neutral is the return path of the current, and ground wire holds the fault current to trip the breaker in protecting the person and the facility. The neutral and ground should never be bonded together in the facility except for the main panel.
05:03 PM Tom_L: google's take on it
05:04 PM Tom_L: keep them separate except when you don't
05:04 PM JT-Shop: my other brother John was working on a school that had the neutral switched for lights
05:04 PM CaptHindsight: I had someone that stated that neutrals and grounds are never even bonded at the entrance panels
05:05 PM CaptHindsight: so where do you go from there?
05:05 PM Tom_L: that should be the only place and then right out to the ground rod
05:05 PM CaptHindsight: nope you are wrong
05:05 PM Tom_L: not the first time
05:05 PM CaptHindsight: "not even at the entrance"
05:06 PM rdtsc: Utility pole / box should have a grounded neutral there too
05:06 PM rdtsc: At least where I'm from
05:06 PM CaptHindsight: how do you explain ground loops to someone that dense?
05:06 PM Tom_L: you let them learn the hard way
05:06 PM Tom_L: then if they live you can tell them you told them so
05:08 PM CaptHindsight: I fixed a couple other messes they made as well. Not having wire nuts tight on 3phase motor connections and then blaming the bearings when the system failed
05:08 PM JT-Shop: raining now pretty hard
05:08 PM Tom_L: if it had to happen, i'd rather be hit with mains than a capacitor charge though
05:08 PM CaptHindsight: even 480VAC
05:08 PM Tom_L: let's not get that crazy
05:09 PM JT-Shop: my other brother John cut through a live 480v 3p set of thnn and it blew the cutter out of his hand
05:10 PM JT-Shop: it was my fault... the pump had an off delay
05:12 PM rdtsc: I had a 480 extension cord brush across my forearm. Instantly left marks. Wait, how could that happen (prongs should not be energized) - long story short, this was on a Siemens drive. Didn't realize that it still regenerated caps to mains AC even with power removed.
05:12 PM JT-Shop: ouch
05:12 PM JT-Shop: my vmc has a siemens drive
05:13 PM JT-Shop: I put incandescent lights on each phase of my phase converter to drain the caps
05:13 PM Tom_L: on my little supply to the mill, i used leds
05:14 PM rdtsc: They tend to work well, but be hard/quirky to setup. All are plagued by overheating - keep 'em as cool as possible.
05:14 PM JT-Shop: looks like two lights still work
05:16 PM rdtsc: Ever try the Siemens drive on two phases? Some work fine that way
05:17 PM rdtsc: Others are sticklers and'll give a missing phase fault or similar
05:17 PM JT-Shop: no, but I had a very small 480v 3ph motor that ran for years on 2 phases
05:17 PM rdtsc: with a capacitor for the 3rd phase?
05:17 PM JT-Shop: no, it had a loose connection
05:18 PM rdtsc: hmm. saw a 5hp motor on top of some concrete shaping machine with a missing phase and, weirdest thing, would totally sound like it was running. but would not move.
05:19 PM JT-Shop: yup it was just moving back and forth a bit, the motor above might have been a 1/4 hp motor
05:30 PM Tom_L: start line works
05:30 PM JT-Shop: yippiee
05:30 PM Tom_L: didn't check anything else yet
05:31 PM JT-Shop: that was something I just had not got to
05:34 PM Tom_L: does the plotter work now?
05:35 PM JT-Shop: no, it will add the plotter window if you have the container but that's all
05:37 PM JT-Shop: might be time to cook some wings
05:37 PM Tom_L: i'll see if i can squeeze in a small one for testing
05:39 PM JT-Shop: I don't think I've added that to the manual yet
05:40 PM * JT-Shop goes to see when cooking must start
05:44 PM Tom_L: there's a manual ???
05:44 PM Tom_L: :)
05:51 PM JT-Cave: https://gnipsel.com/linuxcnc/flexgui/misc.html
05:59 PM * JT-Cave goes to check on the oven and optional stops works now...
06:18 PM Tom_L: we'll see..
06:23 PM Tom_L: yup OpStop werks now
06:32 PM rdtsc: Still on the 0.2.0 from earlier. I added a plot_widget to another tab, and that comes up, but is blank. But now the Lcnc_3dGraphics draws the expected chips.ngc. plot_widget still blank (I'm likely behind in the build)
06:33 PM Tom_L: added space for plotter
06:34 PM Tom_L: no, it's not ready. i added a space for it though
06:50 PM Tom_L: JT-Cave, #10 made room for plot in tom.ui
07:03 PM lcnc-relay: <skunkworks8841> https://jauriarts.org/_matrix/media/v3/download/jauriarts.org/rWJlcnSzPuPDSZjmnjUcKYrD/PXL_20240427_234404063.jpg
07:03 PM lcnc-relay: <skunkworks8841> went better than i thought.. will need to bleed a little bit. lost very little fluid
07:03 PM lcnc-relay: <skunkworks8841> Seems to work too.. push on the brakes and the contacts clise
07:06 PM lcnc-relay: <skunkworks8841> Close
07:08 PM Tom_L: rdtsc, update fixes OpStop http://tom-itx.no-ip.biz:81/~webpage/cnc/JT-SHOP/flexgui/
07:09 PM Tom_L: skunkworks, nice
07:17 PM rdtsc: Nice SW.
07:17 PM rdtsc: Got it Tom, updated fine, seems all good. Ironing out a homing issue (this might be easier if the machine was fully built lol)
07:19 PM rdtsc: actual_lb_x (y and z) and dro_lb_x (y and z) all are staying at zero, despite halshow saying z-pos-fb (and x and y) all have values. Likely a config issue here.
07:22 PM rdtsc: or perhaps not implemented yet; i seem to be rushing the carriage before the horse today. :)
07:24 PM -!- #linuxcnc mode set to +v by ChanServ
07:24 PM Tom_dev: dro_lb_x, actual_lb_x, etc work
07:25 PM Tom_dev: look at xyzh.ui
07:25 PM Tom_L: has an ini with it to view
07:26 PM Tom_L: xyzh.ini and xyz.ini both use xyz.ui
07:26 PM Tom_L: set up a desk icon for it to compare what you're doing
07:26 PM Tom_L: i have one for mine and one for xyz
07:34 PM rdtsc: I see it in https://www.gnipsel.com/linuxcnc/flexgui/labels.html#special-labels and am comparing mine against xyz.ui and not seeing any differences. Will likely find a typo somewhere, heh
07:36 PM Tom_L: i've gotten the wrong widget before
07:36 PM Tom_L: textlabel vs button etc
07:46 PM rdtsc: https://pasteboard.co/ePNuyklYmYUq.png homing is malfunctioning here atm, but the actual_lb_z and dro_lb_z always report zero and never update. Remember seeing something about precision, aah yes, here https://forum.linuxcnc.org/41-guis/51580-flexible-gui?start=10#295040 investigating
07:50 PM Tom_L: what is xyz set to for that?
07:56 PM rdtsc: adding precision=4 does change the label from 0 to 0.0000, so that works fine.
07:56 PM rdtsc: xyz.ui is using "actual_lb_x" and similar. Could this be working fine in sim, but not with physical hardware? Let me try the xyz sim.
07:59 PM Tom_L: xyzh has homing
08:02 PM Tom_L: JT-Cave, reload gcode doesn't seem to work
08:04 PM Tom_L: my error.. label named wrong
08:05 PM rdtsc: trying xyzh, i can get it on, chips loaded, homed, and the spindle moving, click run, then the screen changes/flickers slightly and it immediately stops. gives several errors, likely having to do with machine dimensions and gcode location
08:06 PM rdtsc: Error
08:06 PM rdtsc: Linear move on line 21 would exceed joint 2's positive limit
08:06 PM rdtsc: Error
08:06 PM rdtsc: invalid params in linear command
08:06 PM Tom_L: your machine box is out of bounds or the code is not homed right
08:06 PM Tom_L: i increased my limits in the ini
08:07 PM Tom_L: then you need to set the offsets right like on any machine
08:12 PM Tom_L: i don't think i've ever run the example files so i dunno the bounding box
08:13 PM rdtsc: right, hard to do without knowing what the values would be or seeing it, but tried changing Touch Offs and that did cause the actual_lb_z and dro values to all change. So sim is definitely working
08:13 PM Tom_L: i made my own test file
08:13 PM Tom_L: it's on my site if you want it
08:14 PM Tom_L: the short one would be best probably
08:14 PM Tom_L: i was getting following errors so i wrote an exercise test to tune the parameters
08:15 PM Tom_L: it uses t45 and the offsets are x3.5 y3.5 z-2.5
08:17 PM Tom_L: inch
08:17 PM rdtsc: does it require any offsets?
08:18 PM rdtsc: get same messages after resetting offsets
08:19 PM rdtsc: The jogs work as expected, and update the lb's appropriately
08:20 PM rdtsc: maybe i'm missing some required control
08:21 PM Tom_L: setting the offsets takes some getting used to i think
08:21 PM Tom_L: i do it a bit different than jt i think but it works
08:26 PM rdtsc: in any case, the lb's are definitely working in the sim. prolly need some mandatory control for it to work.
08:26 PM rdtsc: in hardware
08:26 PM Tom_L: it should be self contained
08:28 PM Tom_L: i haven't tried on hardware yet
08:38 PM Tom_L: what control board are you using with the rpi?
08:38 PM Tom_L: i forgot if you mentioned it..
08:41 PM rdtsc is now known as rdtsc_away