[Emc-developers] userspace comp frequency

2024-01-16 Thread Thomas J Powderly
Problem is fixed: The cause was use of reserved words 'min' and 'max' Fixing was simply renaming pins ( and thus the variables ) to 'mymin' , 'mymax' . Now the states are as expected, near 1mS, not 1 second  as with names 'min', 'max' . I'd think use of reserved words should be mentioned

[Emc-developers] userspace comp frequency

2024-01-15 Thread Thomas J Powderly
hello (sorry if double posted, i thinik orig dud not go thru) I wrote a userspace .comp file to drive a pyvcp bar widget I expected it to update every 1mS ( usleep(1000) ) But what I see is close to 1 hz  I use a rip of linuxcmc 2.9.1  on debian 12 It compiles ok with the followiung cmd...

[Emc-developers] userspace comp update frequency

2024-01-13 Thread Thomas J Powderly
hello I wrote a userspace .comp file to drive a pyvcp bar widget I expected it to update every 1mS ( usleep(1) ) But what I see is close to 1 hz :-( I use a rip of linuxcmc 2.9.1 It compiles ok tomp@D12emc291:~/linuxcnc-barwidgets/configs/tomp$ halcompile --install --userspace

Re: [Emc-developers] removed subdor in tests on linuxcnc branch linuxcnc-barwidget

2023-11-29 Thread Thomas J Powderly
Thanks Andy On 11/30/23 00:42, andy pugh wrote: On Mon, 27 Nov 2023 at 06:59, Thomas J Powderly wrote: That breaks build , so I removed tests/pyvcp-bar ( git rm ...) You could have added an empty file called "skip" to the test folder: See: https://linuxcnc.org/docs/2.9/html/co

[Emc-developers] automating test for guis

2023-11-27 Thread Thomas J Powderly
If anyone is looking to automate gui tests ( similar to  scripts/runtests), I found library 'pyautogui' to be very interesting. It can generate key stokes ( alt ctrl shift combos too) It can generate mouse movement in the gui. It can _find_ buttons and click them. It helped me send keystrokes

[Emc-developers] removed subdor in tests on linuxcnc branch linuxcnc-barwidget

2023-11-26 Thread Thomas J Powderly
in branch *linuxcnc-barwidgets * I mistakenly tried to use scripts/runtests with .hal files requiring DISPLAY That breaks build , so  I removed tests/pyvcp-bar ( git rm ...) Now, *linuxcnc-barwidgets

Re: [Emc-developers] pull requestproduced ' Build CI: Some jobs were not successful'

2023-11-26 Thread Thomas J Powderly
Stefen thank you very much On 11/26/23 21:08, Steffen Möller wrote: > Hi Thomas, > >> Gesendet: Samstag, 25. November 2023 um 14:22 Uhr >> Von: "Thomas J Powderly" >> An: emc-developers@lists.sourceforge.net >> Betreff: [Emc-developers] pull req

[Emc-developers] pull requestproduced ' Build CI: Some jobs were not successful'

2023-11-25 Thread Thomas J Powderly
Hello new to Git I made a fork made some changes did a 'push to master did a pull request ( I think that's the procedure) then got email that I don't understand 1st error in message is in 'Built Rip & test' message is Bar widgets #9519 pull request waspull request #2756

Re: [Emc-developers] noobie reuntest display err

2023-11-20 Thread Thomas J Powderly
Hello I cannot use scripts/runtests on tests/mydir/test.hal  with .xml containing a pyvcp widget I get error saying "no display name and no $DISPLAY but: 'printenv' and 'echo $DISPLAY'  show DISPLAY=:0.0 So, I reduced the test.hal to only loadusr the .xml file and 'start' and reduced the

Re: [Emc-developers] noobie reuntest display err

2023-11-19 Thread Thomas J Powderly
Hi Chris I submitted bug report 2755 when i saw  much simpler /hal and .xml produce same errs (1 line hal and simplest label XML ) thanks tomp ___ Emc-developers mailing list Emc-developers@lists.sourceforge.net

Re: [Emc-developers] noobie reuntest display err

2023-11-19 Thread Thomas J Powderly
________ From: Thomas J Powderly Sent: Sunday, November 19, 2023 1:12:03 AM To: emc-developers@lists.sourceforge.net Subject: [Emc-developers] noobie reuntest display err Hello I have problems writing tests for my code. LINUXCNC - 2.10.0~pre0 I created in my RIP dir

[Emc-developers] adding library requirement to pyvcp_widgets

2023-10-22 Thread Thomas J Powderly
Hello I am working on pyvcp_widgets, esp the bar widget. I added a 'style' that is extreme simplistic, its just a single line with a user defined 'thumb' ( thumb is old school for the indicator that moves along the length of the bar ) Anyways, rather than try to guess what shapes to allow,

[Emc-developers] double type & stupid pet tricks

2023-10-14 Thread Thomas J Powderly
a casual look saw a _lot_ of bits in a double so i thought ' how many 7 bit ascii chars could be encoded'? allowing short messages to be sent like this: # encode 9 chars into 64bit container str="WakeuNnow" n= 0 for c in str:     n = n | (ord(c) & 0x7f)     n = n << 7 print(bin(n))

[Emc-developers] lost file or mind?

2023-10-06 Thread Thomas J Powderly
Hello, I cannot find a file used in my .ini / But the .ini runs fine from picker the 'lost' file from the iniT ... EMBED_TAB_COMMAND = pyvcp bars.xml After a lot of searching, and failing to find the file, ( searching ~/linuxcnc and all branches of #PATH ) I used the 'find' command on the

Re: [Emc-developers] 5-axis video at Tormach meet up

2023-05-01 Thread Thomas J Powderly
Thanks for the links and for FFox, it can ask save or open with (some  app to view the .wmv) So I just  open with VLC likely MPV and Parole can view wmv also tomp thx Jogn Jon and Stuart ___ Emc-developers mailing list

Re: [Emc-developers] April 2023 LinuxCNC meeting at Tormach headquarters

2023-04-24 Thread Thomas J Powderly
Hi are there any record/reports about the meet-up? tomp ___ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers

Re: [Emc-developers] Your comment editor for the forums sucks for posting commands

2022-12-01 Thread Thomas J Powderly
hahaha was that rhetorical or suppository? :-/ tomp On 11/30/22 04:27, Alec Ari via Emc-developers wrote: Subject ___ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers

Re: [Emc-developers] LinuxCNC + LXRT (RTAI) results

2022-10-09 Thread Thomas J Powderly
testing. I wasn't sure what the problem was before that people were having but it at least runs for me. Alec On Sunday, October 9, 2022 at 12:08:51 AM CDT, Thomas J Powderly wrote: wow but 61 secs? from missouri :-) still impressive tomp On 10/9/22 11:32 AM, Alec Ari via Emc

Re: [Emc-developers] LinuxCNC + LXRT (RTAI) results

2022-10-08 Thread Thomas J Powderly
wow but 61 secs? from missouri :-) still impressive tomp On 10/9/22 11:32 AM, Alec Ari via Emc-developers wrote: Note: Using LXRT realtime Pic attached (not sure if mailing list accepts pictures, CC'ing to Bari to post on forums if necessary) Alec

Re: [Emc-developers] 2.8.4 install problems setting up network

2022-10-03 Thread Thomas J Powderly
how the device was set up? thx tomp On 10/3/22 12:34 PM, Thomas J Powderly wrote: Ive been trying to install linuxcnc2.8.4 iso burned to sd card in usb shell the (gui/tui either) install gets to configuring network and hangs "Oct 3 04:44:46 dhclient6108] XMT: info-request on e

[Emc-developers] 2.8.4 install problems setting up network

2022-10-02 Thread Thomas J Powderly
Ive been trying to install linuxcnc2.8.4 iso burned to sd card in usb shell the (gui/tui either) install gets to configuring network and hangs "Oct 3 04:44:46 dhclient6108] XMT: info-request on enp5s0, interval 126520ms." (theres many pages of this, it cranked all night ) and maybe of

[Emc-developers] 2.8.4 md5sum

2022-10-02 Thread Thomas J Powderly
please edit http://linuxcnc.org/docs/html/getting-started/getting-linuxcnc.html to reflect correct md5sum of file http://www.linuxcnc.org/iso/linuxcnc-2.8.4-buster.iso to read like this jjf@f1:/CD-DVD/Linux/EMC$ md5sum linuxcnc-2.8.4-buster.iso 8a6e6abd2c792c3e06fbee0ed049ed41 

Re: [Emc-developers] RTAI build broken on Debian?

2022-09-09 Thread Thomas J Powderly
Thanks for all this work tomp On 9/10/22 7:37 AM, Alec Ari via Emc-developers wrote: Just wanted to let everyone know that this is now fixed. RTAI on Debian Bullseye/11 will be pretty easy now. Alec ___ Emc-developers mailing list

Re: [Emc-developers] sudo make setuid -> cannot gain I/O privileges

2022-07-24 Thread Thomas J Powderly
Hi Alec, understood ( forgetabout ARM RTAI) I can put Gentoo on an unused partition of my AMD box becuz its more inmyface and would get more attention Good to hear the permissions problem is fixed & understood. thanks again tomp ___

Re: [Emc-developers] sudo make setuid -> cannot gain I/O privileges

2022-07-24 Thread Thomas J Powderly
Hi Alec I am trying to follow your work... I think it is to make an RTAI for LinuxCNC to work in, with a better environment/system than Debian/Ubuntu. correct so far? I think your custom kernel is built on 5.18.2-1~bpo11+1 which I could try on this box ( Pentium(R) Dual-Core  CPU 

Re: [Emc-developers] Over-enthusiastic translation

2021-10-14 Thread Thomas J Powderly
Hi Andy like the paper that comes with any appliance, all folded up, with chinese english japanese french spanish german italian ? Is that a benefit to handling the docs ? ( single doc multi language ) tomp On 10/14/21 6:38 AM, andy pugh wrote: This file:

[Emc-developers] 3D print graphite 97% pure Rice Uni.

2021-06-24 Thread Thomas J Powderly
Alec, hello This maybe of interest... https://3dprintingindustry.com/news/scientists-successful-in-3d-printing-complex-graphite-parts-with-97-purity-191867/ and https://arxiv.org/pdf/2012.00995.pdf maybe useful for micro edm, esp with ability to make multiple copies but filters and

[Emc-developers] 43" kiosk touch screen

2021-06-19 Thread Thomas J Powderly
today my freezer died and i had to replace it. The store where I do business had several kiosks on the floor no brand name but a sticker showed Model US-TH430PLS which is easily googled. The salesman was using swipes and multi touch zooms to navigate Its as tall as me (6'4" American. Super

Re: [Emc-developers] esp32 stepgen

2021-05-02 Thread Thomas J Powderly
Hi Gene On 5/1/21 8:32 PM, Gene Heskett wrote: On Saturday 01 May 2021 09:12:41 Thomas J Powderly wrote: Hello here is an esp32 stepgen for linuxcnc this snuck under my radar, i missed it by a few months it maybe of use The example setup was laptop > eth > w5500 module > esp32

[Emc-developers] esp32 stepgen

2021-05-01 Thread Thomas J Powderly
Hello here is an esp32 stepgen for linuxcnc this snuck under my radar, i missed it by a few months it maybe of use The example setup was laptop > eth > w5500 module > esp32 > stepper drives > stepper motors the video shows the linuxCNC logo running and a single closed loop stepper

Re: [Emc-developers] chart of arrays

2021-04-28 Thread Thomas J Powderly
Hello Stuart Crystal Flow and Crystal Revs do look good. There's a free trial, could you exercise it? How could it be used by the Linuxcnc Programmers as a group? I'd gladly put a 100$ in the pot if it make a tool that demystified the hairball of emc. Tho, I cant see what would be

Re: [Emc-developers] newest iso install, sshfs can't connect

2021-04-18 Thread Thomas J Powderly
Hi Gene On 4/18/21 7:51 PM, Gene Heskett wrote: On Sunday 18 April 2021 06:13:38 you wrote: I put this on the dev list too, just in case someone knows the reason. This is the second time it bit me Hi Gene it worked here as user tomp connecting to user pi on raspberry pi 4 i have kdoren's

Re: [Emc-developers] Distance-coded scales.

2021-04-16 Thread Thomas J Powderly
For people not familiar with this linear scale 'trick' https://resources.renishaw.com/download.aspx?lang=en=49228=1 My old company used Heidenhain LSNNNc scales because the 2 to 5 meter travelss with top speeds of 1 meter per minute made homing tedious. I remember the marks were every cm so

[Emc-developers] software stepgen

2021-04-09 Thread Thomas J Powderly
I have been studying the stepgen.c code. I intend to implement it for the orange pi arisc especially, but rpi and bpi and bbb and ilk not so specificly. Anyway I see some interesting things in the code. It allows for the steplen and stepspace and dirhold and dirsetup to change. """     if

Re: [Emc-developers] Beagle Bone / PRU support ?

2021-04-02 Thread Thomas J Powderly
Thx andy, Mr Nelson has done a lot of work on this. but I see last entries dated mid May 2020. So, not really old, but not the every 2 week images that were the norm. see: https://elinux.org/Beagleboard:BeagleBoneBlack_Debian#BBW.2FBBB_.28All_Revs.29_Machinekit this tidbit maybe of interest

Re: [Emc-developers] Another itch I'd like tp scratch.

2021-02-26 Thread Thomas J Powderly
Hi Gene wouldn't it be easier to control the power to the camera, rather than the  power to the usb port? Like a simple relay interupting the 5V out, controlled by hal and a gpio pin? Like a dongle between the camera's plug and the usb port? tomp On 2/26/21 1:57 PM, Gene Heskett wrote:

Re: [Emc-developers] rpi 5.10 rt preempt

2021-02-23 Thread Thomas J Powderly
Hi Andy On 2/23/21 6:59 PM, andy pugh wrote: On Tue, 23 Feb 2021 at 09:42, Thomas J Powderly wrote: is the kernel img in the vmlinuz or zImage file? The useful test is the deb It doesnt seem very useful to me I used   sudo dpkg -i on the 3 debs onto a fresh sd image using

Re: [Emc-developers] rpi 5.10 rt preempt

2021-02-23 Thread Thomas J Powderly
is the kernel img in the vmlinuz or zImage file? agh! i discounted that as its 1.7meg vs the 6.8meg i had previously booted with. argh++ tomp ___ Emc-developers mailing list Emc-developers@lists.sourceforge.net

Re: [Emc-developers] rpi 5.10 rt preempt

2021-02-22 Thread Thomas J Powderly
. ooh just noticed 300+ fps w 4 glx gears :-) tomp On 2/21/21 9:18 PM, Thomas J Powderly wrote: maybe of interest https://github.com/kdoren/linux NB: wear fireproof pants tomp ___ Emc-developers mailing list Emc-developers@lists.sourceforge.net

[Emc-developers] rpi 5.10 rt preempt

2021-02-21 Thread Thomas J Powderly
maybe of interest https://github.com/kdoren/linux NB: wear fireproof pants tomp ___ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers

[Emc-developers] hal_pi_gpio man page

2021-02-16 Thread Thomas J Powderly
The hal_pi_gpio component seems to be beta stage meaning I don't see anything wrong. When I programmed full-time this was when I had to hand it over to others to peer. Where do I look for howto write a man page? About the comp - Written in old-school c

Re: [Emc-developers] hal_pi_gpio config string

2021-02-09 Thread Thomas J Powderly
Hi Andy, On 2/9/21 9:35 PM, andy pugh wrote: On Tue, 9 Feb 2021 at 13:28, Thomas J Powderly wrote: loadrt hal_pi_gpio pi_pins={,,,}{,,,}{,,,} each 'quad' consists of braces enclosed data I think that the modparam handling struggles with embedded commas inside a single element. I would

[Emc-developers] hal_pi_gpio config string

2021-02-09 Thread Thomas J Powderly
I have been working on a new version of hal_pi_gpio. It uses an array of structures to hold the features for each pin. struct pinfo {     hal_bit_t pval;    // the last read value for inputs, the desired output value for outputs     char pnum;   // the rpi header pin number     char

[Emc-developers] Fwd: Withdraw Pi support?

2021-01-19 Thread Thomas J Powderly
, and retreating to my Pi3B on OPipluse2e's TomP Sorry Matt for posting to you instead of list Forwarded Message Subject:Re: [Emc-developers] Withdraw Pi support? Date: Tue, 19 Jan 2021 21:37:00 +0700 From: Thomas J Powderly To: Matt Shaver I just built

[Emc-developers] RRPi3B revision fail

2021-01-14 Thread Thomas J Powderly
Hello I just built Buster and preempt and linuxcnc on an RPi3B ( not B+) I could not loadrt hal_pi_gpio. I got error Unrecognized revision. I see there is an error in code to identify revision. The file cpuinfo.c searches for the text "Raspberry" in the file /proc/cpuinfo. It doesnt exist

[Emc-developers] RPi users LCNC

2020-11-26 Thread Thomas J Powderly
For Gene and others interested in RPi for LCNC https://www.youtube.com/watch?v=qL530kJUmII TomP ___ Emc-developers mailing list Emc-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-developers

[Emc-developers] spindle speed hall sensor magnet

2020-11-06 Thread Thomas J Powderly
I'm having trouble securing a magnet onto a trim router spindle shaft for hall sensor rpm. I tried a 3m 2 part glue and a loctite kneadble epoxy putty, both blew up as i approached the 35000 rpm of the trim router. The control scheme works ( arduino with pid, pyvcp speed set and rpm meter,

[Emc-developers] Gecko_540B4 config missing 4th axis

2020-07-28 Thread Thomas J Powderly
Hello the config files for .../configs/by_interface/parport/gecko/Gecko_540B4/ are not 4 axis, but should be (xyza ) I was looking for how the old reprap stuff managed to use an axis or joint to feed material according to linear travel, without twisting the path off the workplane. ( which

Re: [Emc-developers] 2.8 Situation

2020-06-10 Thread Thomas J Powderly
Thanks Alec, I know its hard work and your work _is_ appreciated tomp On 6/10/20 2:56 AM, Alec Ari via Emc-developers wrote: I want what I want because I'm five and I want it now. I spent 6 years working my ass off on RTAI and none of you could give a fuck less.

Re: [Emc-developers] Third-Party GUIs.

2020-05-02 Thread Thomas J Powderly
re the original post: From: andy pugh Sent: May 1, 2020 12:17 PM To: EMC developers Subject: [Emc-developers] Third-Party GUIs. I wonder if the docs should mention the GUIs that are made for LinuxCNC but are not part of LinuxCNC? I am thinking of

Re: [Emc-developers] [Emc-users] linuxcnc openlung ventilators

2020-03-24 Thread Thomas J Powderly
Thanks Dave On 3/24/20 10:02 PM, dave engvall wrote: Implications? Gleaned from a medical  site. "Coronavirus is enveloped, meaning the virus has coating on the outside of it. As it happens, the envelope means that the virus doesn’t survive well outside of the body—they usually can’t last

Re: [Emc-developers] framebuffer xmotion

2020-03-24 Thread Thomas J Powderly
Chris you are more a developer than I On 3/24/20 3:04 PM, Chris Morley wrote: If I make dbus libraries optional, does this mean linuxcnc's qtvcp would work for you? Chris I dunno, but i hope to try qt scripting soon I have no idea how dbus is involved ( maybe qtvcp requires dbus but is

Re: [Emc-developers] framebuffer xmotion

2020-03-24 Thread Thomas J Powderly
Hello On 3/23/20 12:49 PM, theman whosoldtheworld wrote: qt 12 OR 14? """the latest version of Qt is 5.14 from 12 December 2019. 5.12 LTS,""" i see, 5.12 5.14  ok btw i can build now on the rpi4 using qtcreator. and the app runs fine on framebuffer. it does NOT need the sudo as did the

Re: [Emc-developers] emc-developers] correct F code status message - opinions

2020-03-24 Thread Thomas J Powderly
interesting if I understand correctly... the THC uses voltage drop gap sensing, so if the velocity slows down, the sensor sees the slot more than the stock correct? so the control loop lowers the hean trying to get to the target voltage. (oops!) we have similar problems in simple hole

Re: [Emc-developers] framebuffer xmotion

2020-03-22 Thread Thomas J Powderly
    Hello a video ( when youtube finally approves it ) about QT using framebuffer (no X ) hopefully for a low cpu load gui fpr LinuxCNC maybe Xmotion can really run ( personally I never got any visuals ) or https://github.com/leonpk82/cnc_touch the vid just shows framebuffer, svg, mouse,

Re: [Emc-developers] framebuffer xmotion

2020-03-22 Thread Thomas J Powderly
@ Frank Tkalcevic Hello Could you tell more about how you got QT to output to /dev/fb0? I installed Qt Creator (Qt Creator 4.2.0 Based on Qt 5.7.1 (GCC 6.3.0 20170415, 64 bit) and followed tutorial to produce a small app, it has a window, 3 buttons and an icon . Code moves the icon into the

[Emc-developers] framebuffer xmotion

2020-03-02 Thread Thomas J Powderly
Hello, There was a mention of a framebuffer gui called 'Xmotion' It has not been touched for a while, tho the dev is active on another front ( a JS frontend for it ) My question: Will using the framebuffer (instead of X) make a better environment for LinuxCNC? apologies for the term

[Emc-developers] hal_parport.c read_all write_all

2020-02-20 Thread Thomas J Powderly
Does any one use the read_all or write_all functions of hal_parport? from my copy of hal_parport.c """ // TJP i dont see parport.read_all or write_all used in ANY supplied parport hal cfgs // TJP it seems parport.read_all and write_all were intended for a single pport // TJP and

Re: [Emc-developers] hal_pi_gpio.c rpi4 revision c03112

2020-02-16 Thread Thomas J Powderly
I now have linuxcnc 2.9 with a good hal_pi_gpio.(doesnt break on newest Pi revision code c03112 ) The driven pins scope out clean when running. These pins controlled by software stepgen. To do this , I installed a rip ( so I could make new .c components ). I edited hal_pi_gpio.c , adding a

[Emc-developers] hal_pi_gpio.c rpi4 revision c03112

2020-02-15 Thread Thomas J Powderly
Hello I have a raspberry pi 4, 4G /proc/cpuinfo shows Hardware    : BCM2835 Revision    : c03112                      << THIS IS A PROBLEM Serial        : 10007ef4bf9c Model        : Raspberry Pi 4 Model B Rev 1.2 and those values will fail trying to load the hal_pi_gpio module. When I

Re: [Emc-developers] announcement OpenCN, a new fork of LinuxCNC

2020-01-12 Thread Thomas J Powderly
I think the missing file belongs to the source code for linux, not linuxcnc. try looking at https://github.com/torvalds/linux/blob/master/include/asm-generic/asm-offsets.h you may need both bodies of code avaialable to compile OpenCN I do not see that file in my local builds ( run-in-place