#hazzy Logs
Dec 22 2019
#hazzy Calendar
06:01 AM TurBoss: morning
06:03 AM jthornton: morning
09:16 AM hazzy-m: Morning
09:32 AM roguish[m]: good morning from a soggy central left coast.....
09:43 AM hazzy-m: <roguish[m] "good morning from a soggy centra"> roguish: it's soggy here on the east coast too this morning
09:44 AM JT-Shop: whew, finally got my company file to open in SlowBooks after a power glitch...
09:45 AM roguish[m]: JT-Shop: remember the 3 rules.... backup, backup backups, and backup again.
09:45 AM roguish[m]: oh, and check the backups actually work. occasionally.
09:46 AM roguish[m]: JT-Shop: I just had to rebuild my windows main desk computer. nightmare getting Outlook running properly again.
09:53 AM roguish[m]: hey you Southern Boys. did you see Junior Johnson died a couple days ago? he was real Nascar. running shine at 14.
09:55 AM JT-Shop: trying to setup auto backups but it fails
10:07 AM JT-Shop: didn't hear about that, he got a pardon from the pres for running shine
10:15 AM Lcvette: Morning
10:21 AM Lcvette: Is debian buster and linuxcnc easy to install yet?
10:22 AM Lcvette: Is have a thing like stretch to install?
10:23 AM hazzy-m: roguish: I hadn't heard, he lived to a ripe old age despite the shine
10:23 AM * hazzy-m uploaded an image: image.png (160KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/PszTjjGYBNsjEkTpTeyivxFC >
10:24 AM JT-Shop: cool
10:24 AM hazzy-m: this is a quick and dirty VCP duplicating your jog indicators
10:24 AM hazzy-m: not the pins names, they should be the same as in your pyvcp panel, just change the component name from pyvcp to qtpyvcp
10:31 AM TurBoss: hazzy: you working on halstuff?
10:32 AM hazzy-m: yes
10:32 AM TurBoss: \I/
10:32 AM TurBoss: * \o/
10:33 AM Lcvette: \o/
10:39 AM roguish[m]: hazzy: could you post your files? the .ui, and whatever else it takes? please
10:39 AM * hazzy-m posted a file: axis-jog.ui (3KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/IRayLRIZFyxmiieAjJbvLNlL >
10:39 AM hazzy-m: sorry, I thought I had lol
10:46 AM roguish[m]: hazzy: ok. .ui looks very simple. so, how is it connected in .hal? when/where/how are the hal pins created, like 'qtpyvcp.xjog.on' ???
10:47 AM hazzy-m: they are created when the VCP launches, just like pyvcp
10:47 AM hazzy-m: you connect the HAL pins in your postgui.hal file
10:48 AM TurBoss: I get duplicated name
10:48 AM hazzy-m: all you should have to do is change the existing pin names in your postgui hal file to match the names of the pins in the new VCP
10:49 AM hazzy-m: TurBoss: hmm, are you running it with another VCP?
10:49 AM roguish[m]: ok. my side gui is created through an app line. not sure if that is run before or after the postgui.hal file....a timing thing....
10:49 AM roguish[m]: i'll test it.
10:49 AM hazzy-m: roguish: good point...
10:49 AM hazzy-m: if its run before then it will be fine, if its run after that might be a problem
10:50 AM TurBoss: hazzy: I ran linuxcnc with qtpyvcp the qtpyvcp
10:50 AM roguish[m]: hal is funny like that. it runs in order through the .ini file
10:50 AM TurBoss: * hazzy: I ran linuxcnc with qtpyvcp then qtpyvcp
10:50 AM TurBoss: ok
10:51 AM roguish[m]: my intent is to drop the pyvcp part and just have the qtpyvcp side panel with a very standard axis gui.
10:52 AM roguish[m]: then, hopefully, progress to a single qtpyvcp. i'm kinda slow and plodding....
10:53 AM hazzy-m: that is a good idea, migrate slowly to QtPyVCP
10:54 AM roguish[m]: so i need to update qtpyvcp, or anything?
10:57 AM hazzy-m: no, it should run as is
10:58 AM roguish[m]: coooooooooooooool
10:58 AM * TurBoss uploaded an image: image.png (13KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/iqROLLsKRUnkEDQEbBALwFWd >
10:58 AM hazzy-m: TurBoss: if you ran a VCP and then started the qtpyvcp with the axis-jog.ui file you probably has a duplicate qtpyvcp HAL component
10:59 AM * hazzy-m threw spelling and grammar out the window
11:00 AM TurBoss: okay
11:01 AM Lcvette: What's that hazzy?
11:11 AM TurBoss: bbbbbbbbbbbbbcv7
11:11 AM TurBoss: .
11:12 AM hazzy-m: what language is that TurBoss ?
11:12 AM hazzy-m: xD
11:12 AM TurBoss: chapes language
11:12 AM hazzy-m: hahahaha
11:12 AM TurBoss: :D
11:12 AM TurBoss: duno what he means
11:57 AM roguish[m]: hazzy: yeah, does not work with that timing problem. crashes. i tried a bunch of variations. the hal connection can only be done after qtpyvcp pin is created. is there a way to make the connection in the qtpyvcp, or associated file?
11:58 AM roguish[m]: but the led does work. i connected the pin manually after axis and the .ui gui were running - used a simple hal command.
11:59 AM roguish[m]: maybe i'm making this too complicated.
12:00 PM hazzy-m: http://www.linuxcnc.org/docs/devel/html/config/ini-config.html#sec:applications-section
12:00 PM hazzy-m: you need to add a delay to allow time for the pins to be created
12:01 PM hazzy-m: I think a half second or so should be enough
12:01 PM roguish[m]: been there. doesn't work. at least the way i see it.
12:01 PM TurBoss: use postgui
12:02 PM TurBoss: oh
12:02 PM TurBoss: ops
12:02 PM TurBoss: not same
12:04 PM TurBoss: anyway for hal wiring to qtpyvcp I would use POSTGUI hal file :D
12:05 PM hazzy-m: TurBoss: the problem is Axis is loading the post GUI hal file before loading the APP
12:05 PM TurBoss: ahh
12:06 PM roguish[m]: that's right.
12:06 PM hazzy-m: roguish: try creating a new HAL file called post_app.hal and putting the connections to your QtPyVCP in there
12:06 PM hazzy-m: then add another APP line with:
12:07 PM roguish[m]: might work. create the pin connection via the 2nd APP line
12:08 PM hazzy-m: `halcmd -i ini_path -f post_app.hal`
12:10 PM TurBoss: hazzy: any progress?
12:10 PM TurBoss: :P
12:11 PM hazzy-m: a very little
12:13 PM TurBoss: great!
12:16 PM Tom_L: howz qtpyvcp land today?
12:21 PM hazzy-m: cold and wet :D
12:22 PM Tom_L: take a hot shower next time!
12:24 PM hazzy-m: lol
12:24 PM Not-46f0: [02qtpyvcp] 07KurtJacobson pushed 031 commit to 03HALLoadMeter [+2/-0/±2] 13https://git.io/Jedp8
12:24 PM Not-46f0: [02qtpyvcp] 07KurtJacobson 031f463ec - move bar indicator to base widgets to can be sub-classed
12:24 PM Not-46f0: [02qtpyvcp] 07KurtJacobson created branch 03HALLoadMeter - 13https://git.io/fhCou
12:25 PM travis-ci: kcjengr/qtpyvcp#1203 (HALLoadMeter - 1f463ec : Kurt Jacobson): The build passed.
12:25 PM travis-ci: Diff view : https://github.com/kcjengr/qtpyvcp/commit/1f463ec9fe2d
12:25 PM travis-ci: Build details : https://travis-ci.org/kcjengr/qtpyvcp/builds/628434751
12:48 PM roguish[m]: hazzy: no luck. it's a timing thing.
12:49 PM roguish[m]: though, i did just run halcmd from a command line after everything else was up. ran the connecting postgui.hal file. works.
12:49 PM hazzy-m: how about using a bash script to start qtpyvcp and then load the hal file and call the script with the app line?
12:50 PM roguish[m]: so, if I create a batch file or script or whatever, and run it to start every thing. it would work.
12:50 PM roguish[m]: yeah. what you said.
12:50 PM hazzy-m: great minds think alike :D
12:50 PM roguish[m]: always in the same circles, round and round and round....
12:50 PM hazzy-m: hahaha yes
12:51 PM roguish[m]: hazzy: ok. your led is done deep down inside with an elipse command. right?
12:51 PM * TurBoss uploaded an image: image.png (59KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/QybrXkycsIlZhbowBdxGPFBq >
12:51 PM roguish[m]: how about if i cludge one up that's a rectangular shape?
12:51 PM hazzy-m: yes, do you want a square one ?
12:52 PM hazzy-m: it should not be very hard
12:52 PM roguish[m]: i did it for the pyvcp many years ago.
12:52 PM hazzy-m: should be able to add it as an option in designer
12:52 PM hazzy-m: TurBoss: Nice!!!!
12:53 PM roguish[m]: originally there was only a round one. I cut and pasted and created the rectangular one that exists now...... my sole contribution.......'
12:53 PM hazzy-m: so you are the one responsible!
12:54 PM roguish[m]: i confess. yes, or yes.
12:54 PM TurBoss: hazzy: i did the hal load metter can i commit to your branch?
12:56 PM hazzy-m: I moved some files around
12:56 PM TurBoss: i saw
12:56 PM hazzy-m: create a new branch and I'll try to merge it
12:56 PM TurBoss: I'll on a branch
12:56 PM hazzy-m: or did you already move it?
12:56 PM TurBoss: ok
12:57 PM TurBoss: my fork is up
12:57 PM TurBoss: thanks
12:57 PM hazzy-m: roguish: https://github.com/kcjengr/qtpyvcp/blob/HALLoadMeter/qtpyvcp/widgets/base_widgets/led_widget.py#L68
12:57 PM hazzy-m: TurBoss: thanks!!
01:00 PM TurBoss: is good?
01:11 PM hazzy-m: YES!
01:12 PM TurBoss: cool!
01:12 PM TurBoss: it took me a bit to realize how to
01:19 PM roguish[m]: hazzy: damn. I actuall got it. wrote a simple bash script. had to include a 'sleep 5' before running the postgui.hal. IT WORKS.
01:22 PM hazzy-m: Hurray!!
01:23 PM roguish[m]: hazzy: what would the command line in my bash script be to run the qtpyvcp gui ? instead of with an APP line in the .ini file.
01:24 PM hazzy-m: `qtpyvcp --ini /path/to/config.ini --vcp /path/to/vcp.yml`
01:24 PM hazzy-m: or `qtpyvcp --ini /path/to/config.ini --vcp /path/to/vcp.ui`
01:34 PM roguish[m]: hazzy: ok, got that toooo. remember to add the '&' at the end of each line......
01:35 PM roguish[m]: how about adding 'color on' and 'color off' to the widget? looks like now there is only 'color' which is ON i think.
01:35 PM roguish[m]: making progress.
01:37 PM hazzy-m: Yes, I agree we need both and on and off color
01:37 PM roguish[m]: picky, picky, picky
01:37 PM hazzy-m: Maybe even an intermediate color
01:37 PM roguish[m]: KISS
01:37 PM * hazzy-m uploaded an image: ima_1b5cc5a.jpeg (188KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/FGHSGcAUQvXJUwmvKxBWaRvp >
01:37 PM * hazzy-m got busy
01:38 PM TurBoss: :)
01:39 PM roguish[m]: hope thats not poo
01:39 PM hazzy-m: xD
01:40 PM TurBoss: 💩
01:48 PM Not-46f0: [02qtpyvcp] 07KurtJacobson pushed 033 commits to 03HALLoadMeter [+3/-1/±3] 13https://git.io/JedhQ
01:48 PM Not-46f0: [02qtpyvcp] 07TurBoss 030970708 - HalLoadMeter
01:48 PM Not-46f0: [02qtpyvcp] 07KurtJacobson 038dd15d8 - Merge remote-tracking branch 'TurBoss/hal' into HALLoadMeter
01:48 PM Not-46f0: [02qtpyvcp] 07KurtJacobson 03c130f03 - rename to HalBarIndicator
01:50 PM TurBoss: \o/
02:19 PM TurBoss: hazzy: the gcode editor context menu is almost done since a little bug but you hav a new one what todo
02:20 PM hazzy-m: I tried it and it works great!
02:21 PM hazzy-m: JT is working on the new gcode editer, but it should be easy to migrate the context menu over
02:22 PM TurBoss: okay!
02:44 PM * hazzy-m uploaded an image: ima_b593abe.jpeg (69KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/oCrlLptSXWcQneVEQizetenS >
02:44 PM * hazzy-m is bottling beer
02:55 PM * JT-Shop fills out the articles of termination and notice of winding up for the third time... damn Missouri is picky
03:59 PM TurBoss: @hazzy is ok to merge load meter?
04:02 PM hazzy-m: no, I'm trying to make it accept floats
04:02 PM TurBoss: oh ok
04:02 PM TurBoss: i have to set qcolor to gradient colors
04:19 PM JT-Shop: take them floats or I'll break your legs!
04:32 PM hazzy-m: if their root beer floats I'll take them
04:54 PM * TurBoss uploaded an image: image.png (1496KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/CvLtdeSUxcSPGfqUylVVXqUp >
04:54 PM TurBoss: just found
05:13 PM JT-Shop: Barg's Rootbeer!
05:24 PM roguish[m]: just starting to build the pot roast....
05:25 PM JT-Shop: finally listed the Enco mill on craigslist
05:25 PM JT-Shop: fixing to put the wings on the grill
05:28 PM roguish[m]: Enco what?
05:28 PM roguish[m]: box stock ??? or convert?
05:29 PM roguish[m]: picture?
05:29 PM roguish[m]: listing link?
05:32 PM JT-Shop: 8" x 36" Enco manual mill with a DRO
05:36 PM * Tom_L bids but expects delivery :)
05:36 PM JT-Shop: https://semo.craigslist.org/tls/d/williamsville-enco-milling-machine/7043144752.html
05:37 PM Tom_L: i wouldn't have room
05:37 PM JT-Shop: that's what I'm looking for...
05:38 PM Tom_L: more room?
05:38 PM Tom_L: mine's not for sale!
05:38 PM JT-Shop: aye
05:38 PM JT-Shop: and less clutter
05:38 PM Tom_L: i've packed it in about as much as i can already
05:39 PM JT-Shop: I've been getting rid of tools I'll never use again
05:39 PM * JT-Shop wanders to the deck to fire up the grill
05:39 PM Tom_L: just about the time you do....
05:40 PM JT-Shop: I said to myself do you need 3 8' ladders? well no you can only be on one at a time so I sold one
05:40 PM JT-Shop: and will I ever use that cold saw again with two bandsaws... nope
05:55 PM JT[m]: I keep forgetting about riot on the phone lol
05:57 PM * JT[m] uploaded an image: VectorImage_2019-12-22_055117.jpg (22KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/cGiGrPbBIdTCdkHbjJousDsW >
06:14 PM roguish[m]: JT: waz that? rat legs and bat wings...?
06:15 PM roguish[m]: got my pot roast in the oven at 3:30. couple hours to go.
06:25 PM TurBoss: hmmmm delicious rat legs and bat wings 😋
06:59 PM hazzy-m: lol
08:28 PM * TurBoss uploaded a video: Peek 23-12-2019 03-18.mp4 (51KB) < https://matrix.org/_matrix/media/r0/download/matrix.org/RFrVTuhQBrrtQgAeuQOaMSnz >
09:02 PM Not-46f0: [02qtpyvcp] 07TurBoss pushed 031 commit to 03vtkOptional [+0/-0/±1] 13https://git.io/JeFkf
09:02 PM Not-46f0: [02qtpyvcp] 07TurBoss 034aba851 - make vtk an optiona dependency
09:02 PM Not-46f0: [02qtpyvcp] 07TurBoss created branch 03vtkOptional - 13https://git.io/fhCou
09:03 PM travis-ci: kcjengr/qtpyvcp#1205 (vtkOptional - 4aba851 : TurBoss): The build passed.
09:03 PM travis-ci: Diff view : https://github.com/kcjengr/qtpyvcp/commit/4aba851fa8b6
09:03 PM travis-ci: Build details : https://travis-ci.org/kcjengr/qtpyvcp/builds/628558195
09:10 PM Not-46f0: [02qtpyvcp] 07TurBoss pushed 031 commit to 03vtkOptional [+0/-0/±1] 13https://git.io/JeFkZ
09:10 PM Not-46f0: [02qtpyvcp] 07TurBoss 03dfa9913 - using optional
09:58 PM Lcvette: whats that?
10:03 PM Not-46f0: [02qtpyvcp] 07TurBoss pushed 031 commit to 03vtkOptional [+1/-0/±1] 13https://git.io/JeFIq
10:03 PM Not-46f0: [02qtpyvcp] 07TurBoss 036d2b212 - fallback support for vtk6
10:05 PM TurBoss: I'm trying to install vtk on raspi
10:26 PM Not-46f0: [02qtpyvcp] 07TurBoss pushed 031 commit to 03vtkOptional [+0/-0/±2] 13https://git.io/JeFIw
10:26 PM Not-46f0: [02qtpyvcp] 07TurBoss 03646e6e0 - fix qtvtk
10:28 PM Not-46f0: [02qtpyvcp] 07TurBoss pushed 031 commit to 03vtkOptional [+0/-0/±1] 13https://git.io/JeFIK
10:28 PM Not-46f0: [02qtpyvcp] 07TurBoss 03f46f183 - typo
10:29 PM Not-46f0: [02qtpyvcp] 07TurBoss pushed 031 commit to 03vtkOptional [+0/-0/±2] 13https://git.io/JeFIi
10:29 PM Not-46f0: [02qtpyvcp] 07TurBoss 0375b667a - this ones