[Emc-developers] hal_port

2021-03-10 Thread Peter C. Wallace
Is there any example code for hal_port? I would like to try writing a driver for the DataPainter and PktUART modules. (and by write I mean copy and hack) Peter Wallace Mesa Electronics ___ Emc-developers mailing list Emc-developers@lists.sourcefo

Re: [Emc-developers] hal_port

2021-03-10 Thread Chris Morley
I believe I saw one in the pull request. You may need to look at closed pull requests Original message From: "Peter C. Wallace" Date: 2021-03-10 3:30 p.m. (GMT-08:00) To: EMC developers Subject: [Emc-developers] hal_port Is there any example code for hal_port? I

Re: [Emc-developers] hal_port

2021-03-10 Thread andy pugh
On Wed, 10 Mar 2021 at 23:28, Peter C. Wallace wrote: > Is there any example code for hal_port? It took some digging, but https://github.com/DuttonIndustrial/linuxcnc/tree/29127782da2da3e26b8d5e9c233cbaa9fea653a4/configs/sim/axis/laser -- atp "A motorcycle is a bicycle with a pandemonium attac

Re: [Emc-developers] hal_port

2021-03-10 Thread andy pugh
On Wed, 10 Mar 2021 at 23:55, andy pugh wrote: > https://github.com/DuttonIndustrial/linuxcnc/tree/29127782da2da3e26b8d5e9c233cbaa9fea653a4/configs/sim/axis/laser And https://github.com/DuttonIndustrial/linuxcnc/blob/29127782da2da3e26b8d5e9c233cbaa9fea653a4/src/hal/components/laserpower.comp

Re: [Emc-developers] hal_port

2021-03-10 Thread andy pugh
On Wed, 10 Mar 2021 at 23:56, andy pugh wrote: > > On Wed, 10 Mar 2021 at 23:55, andy pugh wrote: > > > https://github.com/DuttonIndustrial/linuxcnc/tree/29127782da2da3e26b8d5e9c233cbaa9fea653a4/configs/sim/axis/laser > > And > https://github.com/DuttonIndustrial/linuxcnc/blob/29127782da2da3e26b

Re: [Emc-developers] hal_port

2021-03-10 Thread Peter C. Wallace
On Wed, 10 Mar 2021, andy pugh wrote: Date: Wed, 10 Mar 2021 23:57:28 + From: andy pugh Reply-To: EMC developers To: EMC developers Subject: Re: [Emc-developers] hal_port On Wed, 10 Mar 2021 at 23:56, andy pugh wrote: On Wed, 10 Mar 2021 at 23:55, andy pugh wrote: https://github.com

Re: [Emc-developers] hal_port

2021-03-13 Thread Curtis Dutton
andy pugh > >> Reply-To: EMC developers > >> To: EMC developers > >> Subject: Re: [Emc-developers] hal_port > >> > >> On Wed, 10 Mar 2021 at 23:56, andy pugh wrote: > >> > >> On Wed, 10 Mar 2021 at 23:55, andy pugh wrote: > >> >

Re: [Emc-developers] hal_port

2021-03-13 Thread Curtis Dutton
her. > > On Wed, Mar 10, 2021 at 7:43 PM Peter C. Wallace wrote: > >> On Wed, 10 Mar 2021, andy pugh wrote: >> >> >> Date: Wed, 10 Mar 2021 23:57:28 + >> >> From: andy pugh >> >> Reply-To: EMC developers >> >> To: EMC dev

Re: [Emc-developers] hal_port

2022-11-21 Thread Rod Webster
Mar 10, 2021 at 7:43 PM Peter C. Wallace > wrote: > > > >> On Wed, 10 Mar 2021, andy pugh wrote: > >> > >> >> Date: Wed, 10 Mar 2021 23:57:28 + > >> >> From: andy pugh > >> >> Reply-To: EMC developers > >> &

Re: [Emc-developers] hal_port

2022-11-21 Thread andy pugh
On Mon, 21 Nov 2022 at 12:10, Rod Webster wrote: > Could the examples and tests discussed here and in the docs find their way > into the 2.9 release? I think that they are already in the prerelease: https://linuxcnc.org/docs/2.9/html/man/man3/hal_port.3hal.html -- atp "A motorcycle is a bicy

Re: [Emc-developers] hal_port

2022-11-21 Thread Rod Webster
Andy, The component is indeed in 2.9. But the sample code mentioned in the hal_port doc you list aren't. See: https://linuxcnc.org/docs/2.9/html/man/man3/hal_port.3hal.html#SAMPLE%20CODE So the poor user has no clue on

Re: [Emc-developers] hal_port

2022-11-21 Thread Curtis Dutton
I will get a pull request together for this. On Mon, Nov 21, 2022 at 2:12 PM Rod Webster wrote: > Andy, > The component is indeed in 2.9. But the sample code mentioned in the > hal_port doc you list aren't. > See: > > https://linuxcnc.org/docs/2.9/html/man/man3/hal_port.3hal.html#SAMPLE%20CODE

Re: [Emc-developers] hal_port

2022-11-29 Thread Curtis Dutton
I submitted a pull request #2166 that has Raster components. It also includes a sim config to demonstrate how these components can be integrated. On Mon, Nov 21, 2022 at 4:58 PM Curtis Dutton wrote: > I will get a pull request together for this. > > On Mon, Nov 21, 2022 at 2:12 PM Rod Webster

[Emc-developers] hal_port with documentation

2019-08-04 Thread Curtis Dutton
Hi all I know it has been a long time, but I finally finished up documentation for the hal_port pin type changes that I have been working on. I initially added this for performing raster work with my laser engraver. But the port could be used for a lot of things. Anyhow I'm hoping to get this me

Re: [Emc-developers] hal_port with documentation

2019-08-05 Thread andy pugh
On Sun, 4 Aug 2019 at 22:33, Curtis Dutton wrote: > Hi all I know it has been a long time, but I finally finished up > documentation for the hal_port pin type changes that I have been working > on. > > https://github.com/OKComputers/linuxcnc/blob/4a6dc038a00d2bc490b50f96877421d35ebce768/docs/man/

Re: [Emc-developers] hal_port with documentation

2019-08-05 Thread Curtis Dutton
Here is the rundown from when I started the work. I retrofitted my laser engraver with linuxcnc. I do both rastering and vector cutting on my laser, and it is a 4 axis laser as I do complicated raster and vector cutting on 3D objects. I found existing solutions out on the web but they weren't qu

Re: [Emc-developers] hal_port with documentation

2019-08-05 Thread itai
there seems to be some editor issue (tabs/spaces/tab size) with src/hal/hal_lib.c in your branch. pretty much the whole file's been modified with changed indentation. On Mon, Aug 5, 2019 at 12:33 AM Curtis Dutton wrote: > Hi all I know it has been a long time, but I finally finished up > documen

Re: [Emc-developers] hal_port with documentation

2019-08-06 Thread andy pugh
My opinion only: (I am not sure who has the final say on what goes in to Master) On Mon, 5 Aug 2019 at 15:38, Curtis Dutton wrote: A HAL_PORT pin allows for a writer component to send many bytes in one > operation to a reader component in real time. The PORT pins behave just > like any other pin

Re: [Emc-developers] hal_port with documentation

2019-08-06 Thread Curtis Dutton
I can fix the indenting on hal_lib.c I'm not opposed to separate changes however I did use the pyhal.py to create tests for testing hal_port code. pyhal.py is not actually required for hal_port to function. (Assuming hal_port functions properly) The halcompile.g doesn't strictly become a requirem

Re: [Emc-developers] hal_port with documentation

2019-08-08 Thread Curtis Dutton
Ok I have created a pull request for hal_port pin type to master. This request only includes hal_port related things. The laser and raster components will be a different pull request that I will make after this one gets in. Thanks all, Curtis On Tue, Aug 6, 2019 at 12:03 PM Curtis Dutton wr