Re: [Emc-developers] got usability problem w/master
On 2/29/24 04:05, andy pugh wrote: On Wed, 28 Feb 2024 at 17:14, gene heskett wrote: The Halshow "Watch" tab can be better for this. Sounds useful. is it covered by a manpage? https://linuxcnc.org/docs/stable/html/hal/tools.html#_halshow Bookmarked, thanks Andy. Cheers, Gene Heskett, CET. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis ___ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers
Re: [Emc-developers] got usability problem w/master
On 2/29/24 04:03, andy pugh wrote: On Wed, 28 Feb 2024 at 21:29, gene heskett wrote: and I've copies of it in nc_files and in nc_files/subs, error msg claims EOF while searching for it. That isn't the most helpful message, it means that it hasn't found the subroutine in the current G-code file (and had got to the end of the file looking) What this normally means is that the subroutine file has not been found in the subroutine path. Working out why can be difficult. I think I have that sorted Andy, deep in the docs is a mention that it need the "o sub" at the head of the file, an ends with "o endsub", and I had never added that stuff to the file. So I did now. So that s/b fixed. But I was getting wet running back and forth to the machine as it rained fairly steadily all day yesterday Since theres a bucket of holes to be drilled, I have setup a slew of vars, #<_arx, #<-ary, #<_arz with a single digit hex value as the next character and of coarse a closing ">. I'll only drill every 2nd or 3rd hole as this is the X axis for a 3d printer, 490mm long. 9mm wide linear bearings top and bottom of a 540mm long 20x20 cf tube. Puting flying weight on a starvation diet, printing parts that were originally poorly designed and made from 8mm steel plate! Now, I know bash can do it, I've done it decades ago in amigados and either bash or ARexx, but can lcnc concatenate 4 strings, starting with "#<_ar" one the axises(x,y,z), as the 2rd arg, the while counter value in hex and the 4th the ">" in order to dynamically generate the var name "#<_arx5>" that can then be used to address that particular variable? That would allow me to write this as a while loop as opposed to unrolling this into 1600 LOC. Most of which is copy, paste, edit. If lcnc can do this, what section discusses the howto? Thanks Andy. Take care & stay well. Cheers, Gene Heskett, CET. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis ___ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers
Re: [Emc-developers] got usability problem w/master
On Wed, 28 Feb 2024 at 17:14, gene heskett wrote: > > The Halshow "Watch" tab can be better for this. > Sounds useful. is it covered by a manpage? https://linuxcnc.org/docs/stable/html/hal/tools.html#_halshow -- atp "A motorcycle is a bicycle with a pandemonium attachment and is designed for the especial use of mechanical geniuses, daredevils and lunatics." — George Fitch, Atlanta Constitution Newspaper, 1912 ___ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers
Re: [Emc-developers] got usability problem w/master
On Wed, 28 Feb 2024 at 21:29, gene heskett wrote: > and I've copies of it in nc_files and in nc_files/subs, error msg claims > EOF while searching for it. That isn't the most helpful message, it means that it hasn't found the subroutine in the current G-code file (and had got to the end of the file looking) What this normally means is that the subroutine file has not been found in the subroutine path. Working out why can be difficult. -- atp "A motorcycle is a bicycle with a pandemonium attachment and is designed for the especial use of mechanical geniuses, daredevils and lunatics." — George Fitch, Atlanta Constitution Newspaper, 1912 ___ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers
Re: [Emc-developers] got usability problem w/master
On 2/28/24 16:27, gene heskett wrote: On 2/28/24 12:15, gene heskett wrote: On 2/28/24 08:02, andy pugh wrote: On Wed, 28 Feb 2024 at 11:59, gene heskett wrote: I often have as many as 8 open while developing code so I can see whats going on in real time and now I can't see things w/o clicking on them, The Halshow "Watch" tab can be better for this. You can build a list, (and save the layout) and can also set the values of inputs, as well as view outputs. Sounds useful. is it covered by a manpage? What I am attempting to do would be useful to have an array of xy locations, but how does one go about defining an #<_arraynamex+index> and #<_arraynamey+index>? The first portion of this particular program is to survey the locations of the hole the holes I'm actually going to put bolts in, and I figure since this is not going to be overly flexible, is to locate the 8 holes (every third one) and if I cannot use the array by indexing into it my code will grow like Topsy cuz I'll have to write it 8 times instead of looping thru it once. Reading thru the docs it appears the "g1 f2 x[#<_arx>+[#100*#<_distance>]] y#<_ary>" might be legal. That would let me write a knowing only the distance from hole 0 to hole 7 by finding those two holes and dividing by 7. And would only need 3 storage locations for x (assuming the bolt holes were accurately bored. Rarely the case with chinese linear bearings. I swear their boltholes are drilled by hand. I have one that y wanders so far off center that I can see the countersink in the bottom of the ball track. So unless you can tell me how to set up an 8 element xy array, I'll have to unroll the loop and use at least 18 vars. Can you rescue me? Thanks Andy. Now I have a different problem. A subroutine I wrote back in 2012 has ceased to load correctly using this syntax. o call Ack the docs it must be named internally as a sub and again as an endsub to match the call in the parent program in addition to being named the same as the call? Took me hours to find that in the docs. Whatever, I guess it shows how long its been since I did use it last. But it will work hole by hole. Long day, back at it tom. Thanks all. and I've copies of it in nc_files and in nc_files/subs, error msg claims EOF while searching for it. Yet I've used it hundreds of times to find a hole so I can rigid tap it. Thanks for any hints. Cheers, Gene Heskett, CET. Cheers, Gene Heskett, CET. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis ___ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers
Re: [Emc-developers] got usability problem w/master
On 2/28/24 12:15, gene heskett wrote: On 2/28/24 08:02, andy pugh wrote: On Wed, 28 Feb 2024 at 11:59, gene heskett wrote: I often have as many as 8 open while developing code so I can see whats going on in real time and now I can't see things w/o clicking on them, The Halshow "Watch" tab can be better for this. You can build a list, (and save the layout) and can also set the values of inputs, as well as view outputs. Sounds useful. is it covered by a manpage? What I am attempting to do would be useful to have an array of xy locations, but how does one go about defining an #<_arraynamex+index> and #<_arraynamey+index>? The first portion of this particular program is to survey the locations of the hole the holes I'm actually going to put bolts in, and I figure since this is not going to be overly flexible, is to locate the 8 holes (every third one) and if I cannot use the array by indexing into it my code will grow like Topsy cuz I'll have to write it 8 times instead of looping thru it once. Reading thru the docs it appears the "g1 f2 x[#<_arx>+[#100*#<_distance>]] y#<_ary>" might be legal. That would let me write a incrementing #100 from 0 to 7 knowing only the distance from hole 0 to hole 7 by finding those two holes and dividing by 7. And would only need 3 storage locations for x (assuming the bolt holes were accurately bored. Rarely the case with chinese linear bearings. I swear their boltholes are drilled by hand. I have one that y wanders so far off center that I can see the countersink in the bottom of the ball track. So unless you can tell me how to set up an 8 element xy array, I'll have to unroll the loop and use at least 18 vars. Can you rescue me? Thanks Andy. Now I have a different problem. A subroutine I wrote back in 2012 has ceased to load correctly using this syntax. o call and I've copies of it in nc_files and in nc_files/subs, error msg claims EOF while searching for it. Yet I've used it hundreds of times to find a hole so I can rigid tap it. Thanks for any hints. Cheers, Gene Heskett, CET. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis ___ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers
Re: [Emc-developers] got usability problem w/master
On 2/28/24 09:35, John Thornton wrote: I'm using Debian with the Mate desktop and I use the TraditionalOk theme. It's not perfect but better than the rest. I just went out and changed the apperannce theme several times with no noticable effect. buster yet, xfce4 desktop. Thanks John. JT On 2/28/2024 5:59 AM, gene heskett wrote: On 2/28/24 06:27, John Thornton wrote: That's probably the OS theme doing that. I ran into that with Debian a few years ago the theme updated then windows not in focus became very dim. It was so annoying I searched for a new theme that didn't do that. Do you recall which one fixed this? Thanks John. Stay well. JT On 2/27/24 19:12, gene heskett wrote: Hey guys; Genuine show stopper here at the Heskett den; Running an axis gui. linuxcnc master updated yesterday. Camera gone again. Has been gone for months. Minor, this project won't use it anyway. I've almost given up on ever having a dependable camera. Some one since the last time I wrote some gcode on my g0704, has hooked the hal meter up to focus status, so if it not focused, its so dim I can't read it unless I'm under a foot from its 21" monitor, so when I click on axis so the keyboard can move he machine to manually verify the probe is working, I can't read it, unfocused, its way too dim. halmeter and halscope if its affected, so they s/b be removed from focus and made to behave as if they are focused full time. I am DIW until i can see this stuff. Is there anything I can do in hal to fix this? Thanks all. Cheers, Gene Heskett, CET. ___ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers Cheers, Gene Heskett, CET. ___ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers Cheers, Gene Heskett, CET. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis ___ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers
Re: [Emc-developers] got usability problem w/master
On 2/28/24 08:02, andy pugh wrote: On Wed, 28 Feb 2024 at 11:59, gene heskett wrote: I often have as many as 8 open while developing code so I can see whats going on in real time and now I can't see things w/o clicking on them, The Halshow "Watch" tab can be better for this. You can build a list, (and save the layout) and can also set the values of inputs, as well as view outputs. Sounds useful. is it covered by a manpage? What I am attempting to do would be useful to have an array of xy locations, but how does one go about defining an #<_arraynamex+index> and #<_arraynamey+index>? The first portion of this particular program is to survey the locations of the hole the holes I'm actually going to put bolts in, and I figure since this is not going to be overly flexible, is to locate the 8 holes (every third one) and if I cannot use the array by indexing into it my code will grow like Topsy cuz I'll have to write it 8 times instead of looping thru it once. Reading thru the docs it appears the "g1 f2 x[#<_arx>+[#100*#<_distance>]] y#<_ary>" might be legal. That would let me write a incrementing #100 from 0 to 7 knowing only the distance from hole 0 to hole 7 by finding those two holes and dividing by 7. And would only need 3 storage locations for x (assuming the bolt holes were accurately bored. Rarely the case with chinese linear bearings. I swear their boltholes are drilled by hand. I have one that y wanders so far off center that I can see the countersink in the bottom of the ball track. So unless you can tell me how to set up an 8 element xy array, I'll have to unroll the loop and use at least 18 vars. Can you rescue me? Thanks Andy. Cheers, Gene Heskett, CET. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis ___ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers
Re: [Emc-developers] got usability problem w/master
I'm using Debian with the Mate desktop and I use the TraditionalOk theme. It's not perfect but better than the rest. JT On 2/28/2024 5:59 AM, gene heskett wrote: On 2/28/24 06:27, John Thornton wrote: That's probably the OS theme doing that. I ran into that with Debian a few years ago the theme updated then windows not in focus became very dim. It was so annoying I searched for a new theme that didn't do that. Do you recall which one fixed this? Thanks John. Stay well. JT On 2/27/24 19:12, gene heskett wrote: Hey guys; Genuine show stopper here at the Heskett den; Running an axis gui. linuxcnc master updated yesterday. Camera gone again. Has been gone for months. Minor, this project won't use it anyway. I've almost given up on ever having a dependable camera. Some one since the last time I wrote some gcode on my g0704, has hooked the hal meter up to focus status, so if it not focused, its so dim I can't read it unless I'm under a foot from its 21" monitor, so when I click on axis so the keyboard can move he machine to manually verify the probe is working, I can't read it, unfocused, its way too dim. halmeter and halscope if its affected, so they s/b be removed from focus and made to behave as if they are focused full time. I am DIW until i can see this stuff. Is there anything I can do in hal to fix this? Thanks all. Cheers, Gene Heskett, CET. ___ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers Cheers, Gene Heskett, CET. ___ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers
Re: [Emc-developers] got usability problem w/master
On Wed, 28 Feb 2024 at 11:59, gene heskett wrote: > I often have as many as 8 open while developing code so I can see whats > going on in real time and now I can't see things w/o clicking on them, The Halshow "Watch" tab can be better for this. You can build a list, (and save the layout) and can also set the values of inputs, as well as view outputs. -- atp "A motorcycle is a bicycle with a pandemonium attachment and is designed for the especial use of mechanical geniuses, daredevils and lunatics." — George Fitch, Atlanta Constitution Newspaper, 1912 ___ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers
Re: [Emc-developers] got usability problem w/master
On 2/28/24 06:27, John Thornton wrote: That's probably the OS theme doing that. I ran into that with Debian a few years ago the theme updated then windows not in focus became very dim. It was so annoying I searched for a new theme that didn't do that. Do you recall which one fixed this? Thanks John. Stay well. JT On 2/27/24 19:12, gene heskett wrote: Hey guys; Genuine show stopper here at the Heskett den; Running an axis gui. linuxcnc master updated yesterday. Camera gone again. Has been gone for months. Minor, this project won't use it anyway. I've almost given up on ever having a dependable camera. Some one since the last time I wrote some gcode on my g0704, has hooked the hal meter up to focus status, so if it not focused, its so dim I can't read it unless I'm under a foot from its 21" monitor, so when I click on axis so the keyboard can move he machine to manually verify the probe is working, I can't read it, unfocused, its way too dim. halmeter and halscope if its affected, so they s/b be removed from focus and made to behave as if they are focused full time. I am DIW until i can see this stuff. Is there anything I can do in hal to fix this? Thanks all. Cheers, Gene Heskett, CET. ___ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers Cheers, Gene Heskett, CET. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis ___ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers
Re: [Emc-developers] got usability problem w/master
On 2/28/24 05:03, andy pugh wrote: On Wed, 28 Feb 2024 at 01:14, gene heskett wrote: Some one since the last time I wrote some gcode on my g0704, has hooked the hal meter up to focus status I am not aware of any changes made to Halmeter recently. Chris has made some stylesheet changes to QtVCP but I wouldn't expect that to affect Halmeter. Have you made any local changes to your GUI theme? Not in the last year that apt has not done in the process of keeping the buster up to date. . This is the 1 liner I use for that: sudo apt autoremove -y && sudo apt update && sudo apt list --upgradable && sudo apt upgrade -y Is halmeter actually built from a .comp? Maybe I could build it w/o that? I often have as many as 8 open while developing code so I can see whats going on in real time and now I can't see things w/o clicking on them, which means I have to click back on the axis screen before I can stop the machine with an F2 key. Dangerous to the tools. I just checked the sixty40, and the text contents are still displayed normally although the title bar is blacked out, so this problem has not affected that machine. All 3 wintels use the same 1 liner to get updated every 2 or 3 days. So I checked TLM. it is affected the text is greyed out, when not "in focus". So is the Sheldon lathe running Rod Websters arm64 build, on an rpi4b, so 3 out of 4 machines are affected. If this is a theme problem how do I go about querying the Sixty40 for whatever its running so I can install it om the other two wintels? The rpi4b is running bookworm. Untouched since Rod sent me his bookworm image. Themes are not something I fiddle with often enough to recall how. Thanks Andy. Take care and stay well. Cheers, Gene Heskett, CET. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis ___ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers
Re: [Emc-developers] got usability problem w/master
That's probably the OS theme doing that. I ran into that with Debian a few years ago the theme updated then windows not in focus became very dim. It was so annoying I searched for a new theme that didn't do that. JT On 2/27/24 19:12, gene heskett wrote: Hey guys; Genuine show stopper here at the Heskett den; Running an axis gui. linuxcnc master updated yesterday. Camera gone again. Has been gone for months. Minor, this project won't use it anyway. I've almost given up on ever having a dependable camera. Some one since the last time I wrote some gcode on my g0704, has hooked the hal meter up to focus status, so if it not focused, its so dim I can't read it unless I'm under a foot from its 21" monitor, so when I click on axis so the keyboard can move he machine to manually verify the probe is working, I can't read it, unfocused, its way too dim. halmeter and halscope if its affected, so they s/b be removed from focus and made to behave as if they are focused full time. I am DIW until i can see this stuff. Is there anything I can do in hal to fix this? Thanks all. Cheers, Gene Heskett, CET. ___ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers
Re: [Emc-developers] got usability problem w/master
On Wed, 28 Feb 2024 at 01:14, gene heskett wrote: > Some one since the last time I wrote some gcode on my g0704, has hooked > the hal meter up to focus status I am not aware of any changes made to Halmeter recently. Chris has made some stylesheet changes to QtVCP but I wouldn't expect that to affect Halmeter. Have you made any local changes to your GUI theme? -- atp "A motorcycle is a bicycle with a pandemonium attachment and is designed for the especial use of mechanical geniuses, daredevils and lunatics." — George Fitch, Atlanta Constitution Newspaper, 1912 ___ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers
[Emc-developers] got usability problem w/master
Hey guys; Genuine show stopper here at the Heskett den; Running an axis gui. linuxcnc master updated yesterday. Camera gone again. Has been gone for months. Minor, this project won't use it anyway. I've almost given up on ever having a dependable camera. Some one since the last time I wrote some gcode on my g0704, has hooked the hal meter up to focus status, so if it not focused, its so dim I can't read it unless I'm under a foot from its 21" monitor, so when I click on axis so the keyboard can move he machine to manually verify the probe is working, I can't read it, unfocused, its way too dim. halmeter and halscope if its affected, so they s/b be removed from focus and made to behave as if they are focused full time. I am DIW until i can see this stuff. Is there anything I can do in hal to fix this? Thanks all. Cheers, Gene Heskett, CET. -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author, 1940) If we desire respect for the law, we must first make the law respectable. - Louis D. Brandeis ___ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers