#flex-dev Logs

May 24 2025

#flex-dev Calendar

04:01 AM Tom_L: morning
04:11 AM Tom_L: JT-Cave, did an update and lost Estop & Power background colors: http://tom-itx.no-ip.biz:443/~webpage/cnc/JT-SHOP/flexgui/touch-probe3_colors.png
05:03 AM JT-Chicken: morning
05:17 AM JT-Chicken: https://ibb.co/HfTBmGN7
06:11 AM JT-Cave: https://gnipsel.com/linuxcnc/flexgui/ini.html#colors
07:01 AM JT-Cave: https://forum.linuxcnc.org/41-guis/56162-flex-gui-1-2-1-released#328866
07:29 AM Tom_L: t-storms since around 3am
07:30 AM JT-Cave: light rain here, heavy to the south
07:33 AM Tom_L: http://tom-itx.no-ip.biz:443/~webpage/cnc/JT-SHOP/flexgui/%5bFlexxgui%5d.png
07:33 AM Tom_L: http://tom-itx.no-ip.biz:443/~webpage/cnc/JT-SHOP/flexgui/%5bFlexgui%5d_off.png
07:33 AM Tom_L: http://tom-itx.no-ip.biz:443/~webpage/cnc/JT-SHOP/flexgui/%5bFlexgui%5d_on.png
07:33 AM Tom_L: not sure what's going on
07:35 AM JT-Cave: Create a key in the ini file called FLEXGUI and use the following to control the static color of these items. The value can be any valid color specification; it’s suggested to use RGB or Hex colors:
07:36 AM JT-Cave: I'll have to check to see if rgba is still valid
07:36 AM Tom_L: the tp3 example works as expected
07:36 AM Tom_L: i'm not sure what i did different there for my sim
07:37 AM Tom_L: just tried them both
07:37 AM JT-Cave: hmm rgba should work
07:37 AM JT-Cave: pastebin the ini file
07:38 AM JT-Cave: ESTOP_OPEN_COLOR = 128, 255, 128
07:38 AM JT-Cave: https://gnipsel.com/linuxcnc/flexgui/ini.html#colors
07:39 AM Tom_L: now it's got me confused too
07:39 AM JT-Cave: drop the rgba()
07:39 AM JT-Cave: it's just numbers and commas
07:39 AM JT-Cave: 3 numbers is rgb and 4 numbers is rgba
07:40 AM JT-Cave: but it should complain...
07:40 AM JT-Cave: which sim?
07:41 AM Tom_L: the example file works with it as is though
07:41 AM Tom_L: my offline sim
07:41 AM Tom_L: lemme putz with it a bit and see what's going on
07:43 AM Tom_L: in the ini, the example file says ESTOP_CLOSED and mine says ESTOP_CLOSED_COLOR
07:43 AM Tom_L: that's the diff
07:44 AM Tom_L: somewhere down the line those got renamed
07:45 AM Tom_L: if i used ESTOP_CLOSED which probably does nothing now, it works as i expected
07:46 AM Tom_L: yeah, it's as if there was no ESTOP POWER entries in the ini
07:46 AM Tom_L: now i'll remove the rgba( stuff and test
07:47 AM JT-Cave: it should complain about the color not being valid...
07:47 AM JT-Cave: when I moved everything to FLEXGUI I had to change the estop and power variable names to be more specific
07:47 AM Tom_L: removing 'rgba()' took care of it
07:48 AM Tom_L: i just hadn't kept up with all the changes on every copy
07:48 AM Tom_L: i'll likely update the example here soon
07:51 AM Tom_L: can you add these to the ini as well?:
07:51 AM Tom_dev: PROBE_ENABLE_OFF_COLOR = 192, 0, 0, 80%
07:51 AM Tom_dev: PROBE_ENABLE_ON_COLOR = 0, 192, 0, 80%
07:52 AM JT-Cave: yup
07:53 AM Tom_L: cool
07:54 AM Tom_L: since we've had to put the mailboxes at the street instead of the house due to a dog issue they won't deliver anything that won't fit. i gotta go pick up a box this morning
07:54 AM Tom_L: chihuahua of all things
07:55 AM Tom_L: the whole street due to one neighbor that lets it just run loose
07:56 AM JT-Cave: that sucks
07:56 AM JT-Cave: I put a large mailbox up last year
07:56 AM * JT-Cave starts his chicken day
07:56 AM Tom_L: we get a new guy about every 2 months and they used to put them on the porch but not this lazy bastard
08:09 AM Tom_L: PR #306 for ini colors
11:42 AM rdtsc: hmm, can we install libqt6designer6 instead of the full-blown gigabytes-size qt6?
11:44 AM Tom_L: https://www.gnipsel.com/linuxcnc/flexgui/install.html
11:44 AM Tom_L: note:
11:50 AM rdtsc: interesting... libqt6designer6 seems to be just a lib. But there is a /usr/bin/setup_designer, apparently from LinuxCNC / RodW... ran it, and it's installing Qt 5 Designer
11:51 AM rdtsc: libpyqt5.so is missing from: /usr/lib/x86_64-linux-gnu/qt5/plugins/designer/
11:56 AM Tom_L: we use qt5 designer
11:56 AM Tom_L: but qt6 libs iirc
11:56 AM Tom_L: there was some kinof a bug in designer6 but i forgot what it was
11:59 AM Tom_L: i question RobW's advise knowing what happened to JT
11:59 AM Tom_L: RodW
12:02 PM JT-Cave: https://gnipsel.com/linuxcnc/flexgui/designer.html#qt6-designer
12:02 PM JT-Cave: there is no advantage to using designer 6
01:02 PM rdtsc: qt5 is about to be retied in a couple of days
01:02 PM rdtsc: *retired
01:15 PM rdtsc: great... latest backup of .ui is missing the power tab, and the custom buttons and python code for enable/disable lan & wifi, and logoff/shutdown/restart. once this is all fixed, think I'll just dd the entire SD card... or setup an rsync job to demand it is done weekly
01:16 PM Tom_L: github it
01:33 PM rdtsc: I had started that, but then moved from Rpi3 to 5, and couldn't re-link it
01:33 PM rdtsc: *Rpi4
01:34 PM rdtsc: saw this and wanted to share with you Tom... grain-of-rice-sized 32-bit MCU running at 24MHz: https://www.youtube.com/watch?v=XSAPGh9um_k
01:37 PM Tom_L: reminds me of the atmel T-10 i did a board for
01:37 PM Tom_L: only more complex
01:38 PM Tom_L: http://tom-itx.no-ip.biz:443/~webpage/temp/tiny/tinyTPI2.jpg
01:39 PM Tom_L: doesn't have many more pins
02:01 PM JT-Mobile: Yo
02:28 PM Tom_L: yo
03:19 PM lcnc-relay: <roguish> JT-Mobile: JT. if I install a new .deb over the top of an old one, it is OK ???
03:20 PM lcnc-relay: <roguish> I've been uninstalling, then installing, and it's a nuisance...
03:20 PM lcnc-relay: <travis_farmer@> yes, just do the upgrade. that's what i did
03:24 PM Tom_L: yes it will upgrade
03:24 PM lcnc-relay: <roguish> ok, just added flex to the repository list, and the key.....
03:24 PM Tom_L: roguish, i went thru all the probe routines to double check they all work
03:25 PM lcnc-relay: <roguish> reloaded the list and it shows to update.
03:25 PM Tom_L: i found one error that has been fixed and pushed
03:25 PM lcnc-relay: <roguish> Tom_L: saw your note, yesterday.... thanks.
03:28 PM Tom_L: also updated the tp3 example slightly
03:29 PM Tom_L: per your recomendation i also (some time back) now move the probe tip over the edge/corner probed
04:06 PM rdtsc: ok back in business here... found a more recent backup and everything working as it was. now to spend time with the wifey
04:07 PM Tom_L: considering a kernel upgrade on my mill pc
04:08 PM Tom_L: but to do it involves reinstalling linuxcnc
04:08 PM Tom_L: since it's RTAI
04:09 PM Tom_L: the the 5.4.290 RTAI looks a little better
04:10 PM Tom_L: and it's packaged with lcnc 2.9.4
04:10 PM rdtsc: have a recent backup available :)
04:10 PM Tom_L: i'm not worried
04:11 PM Tom_L: i still have the original working wheezy os
04:11 PM rdtsc: i should be around later, if you find your mesaflash command is mysterously missing the -readhmid :)
04:11 PM Tom_L: but i can't run flex with that
04:11 PM Tom_L: heh
04:12 PM Tom_L: i've done this upgrade several times and have the files from upgrading the test pc
04:12 PM rdtsc: pop another drive in it for testing
04:12 PM Tom_L: it's already somewhat a test SD
04:13 PM Tom_L: either that or work on a subroutine
08:06 PM Tom_L: JT-Cave, PR #307 update bar probe routine
08:07 PM Tom_L: 2nd pass starts closer to bar once it's rough probed
08:08 PM Tom_L: left the original in the folder renamed