Re: [Emc-developers] Documentation question

2023-04-07 Thread Sebastian Kuzminsky

On 4/7/23 16:49, andy pugh wrote:

I have made some changes to hm2_pktuart and I feel the urge to document
them.

Currently this feature is (barely) documented in groff/troff in the files:
docs/man/man3/hm2_pktuart_read.3hm2
docs/man/man3/hm2_pktuart_send.3hm2
docs/man/man3/hm2_pktuart_setup.3hm2

However there are now severa more functions, and they really would be
better documented in a single file that explained how to use them (as this
is still fairly fresh in my mind)

Preferably a file in asciidoc.

Is there anywhere that I can put an adoc file that will automatically get
processed and added to the man3 section?


docs/src/man/ should do it.


--
Sebastian Kuzminsky


___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


[Emc-developers] Documentation question

2023-04-07 Thread andy pugh
I have made some changes to hm2_pktuart and I feel the urge to document
them.

Currently this feature is (barely) documented in groff/troff in the files:
docs/man/man3/hm2_pktuart_read.3hm2
docs/man/man3/hm2_pktuart_send.3hm2
docs/man/man3/hm2_pktuart_setup.3hm2

However there are now severa more functions, and they really would be
better documented in a single file that explained how to use them (as this
is still fairly fresh in my mind)

Preferably a file in asciidoc.

Is there anywhere that I can put an adoc file that will automatically get
processed and added to the man3 section?

-- 
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] April 2023 LinuxCNC meeting at Tormach headquarters

2023-04-07 Thread andy pugh
On Fri, 7 Apr 2023 at 16:24, Jon Elson  wrote:

> Does anyone have agenda items for the meeting?


Not really an agenda item, but if anyone has any loose Modbus devices that
respond to commands 3, 4, 6, 15 or 16  then I would like to test the Mesa
UART Modbus driver with them.
(The relay board that I have works with 1, 2 and 5, but ignores 15.)

-- 
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] [Emc-users] April 2023 LinuxCNC meeting at Tormach headquarters

2023-04-07 Thread andy pugh
On Fri, 7 Apr 2023 at 17:30, John Allwine  wrote:

> I could bring a Pocket NC if anyone is interested in poking around on it:
> https://www.pentamachine.com/pocket-nc


I would love to see one, I have always rather liked the design.

-- 
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] [Emc-users] April 2023 LinuxCNC meeting at Tormach headquarters

2023-04-07 Thread John Allwine
I could bring a Pocket NC if anyone is interested in poking around on it:
https://www.pentamachine.com/pocket-nc



On Fri, Apr 7, 2023 at 9:23 AM Jon Elson  wrote:

> Does anyone have agenda items for the meeting?
>
> I will be glad to present my servo tuning demo, but that is
> all I have.
>
> Thanks,
>
> Jon
>
>
>
> ___
> Emc-developers mailing list
> Emc-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-developers
>

___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


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

2023-04-07 Thread Jon Elson

Does anyone have agenda items for the meeting?

I will be glad to present my servo tuning demo, but that is 
all I have.


Thanks,

Jon



___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


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

2023-04-07 Thread Jon Elson

Does anyone have agenda items for the meeting?

I will be glad to present my servo tuning demo, but that is 
all I have.


Thanks,

Jon



___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Halcompile: .comp filename and module name match

2023-04-07 Thread andy pugh
On Fri, 7 Apr 2023 at 14:46, Hans Unzner  wrote:

> When it's only a warning - can't you just ignore the warning if this
> comp is only used on your machine?


Well, there is also the fact that if the names don't match then the
component won't load.
The warning is to address a common and hard to diagnose problem with custom
components. For example a file called my_comp.com which defined a component
"my-comp" would compile and install, but then not load as the
hal_read(comp_id) would report component name, but the system would be
expecting the file name.

Or do you want to add it to the
> linuxcnc repo?
>

 Yes, I actually have no personal need for this system.

-- 
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] Halcompile: .comp filename and module name match

2023-04-07 Thread Hans Unzner
When it's only a warning - can't you just ignore the warning if this 
comp is only used on your machine? Or do you want to add it to the 
linuxcnc repo?


Am 07.04.23 um 15:09 schrieb andy pugh:

I remember some time ago that there was a change made to warn that the
filename of the component and the module name did not match:

https://github.com/LinuxCNC/linuxcnc/commit/90acb1567d7b984a98c943cca7cc84e9acceec99

I am now in a position where I _want_ to have the names different, as I
have written a component generator for Modbus devices using the Mesa UARTs.

Does anyone see a horrible problem with adding a command-line argument that
allows the output file name to be changed to match the component name in
this scenario?

halcompile --allow-rename maybe?





___
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers


Re: [Emc-developers] Halcompile: .comp filename and module name match

2023-04-07 Thread andy pugh
On Fri, 7 Apr 2023 at 14:09, andy pugh  wrote:

>
> Does anyone see a horrible problem with adding a command-line argument
> that allows the output file name to be changed to match the component name
> in this scenario?
>

I might also look at the option of removing the restriction on --outfile
here:
https://github.com/LinuxCNC/linuxcnc/blob/master/src/hal/utils/halcompile.g#L1195

Though that doesn't entirely address my use-case.

-- 
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] Halcompile: .comp filename and module name match

2023-04-07 Thread andy pugh
I remember some time ago that there was a change made to warn that the
filename of the component and the module name did not match:

https://github.com/LinuxCNC/linuxcnc/commit/90acb1567d7b984a98c943cca7cc84e9acceec99

I am now in a position where I _want_ to have the names different, as I
have written a component generator for Modbus devices using the Mesa UARTs.

Does anyone see a horrible problem with adding a command-line argument that
allows the output file name to be changed to match the component name in
this scenario?

halcompile --allow-rename maybe?

-- 
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