Halshow + HalReport

More
29 Apr 2022 12:06 #241631 by robertspark
Halshow + HalReport was created by robertspark
I was having a look at Halshow and noticed that if gives a comprehensive list of all hal pins etc.

I then ran halreport and noticed that it just seems to list the connected pins or those that were being utilised / expecting an input or output.

The simple question is: is there any way to get the detail of halshow in a printable document?

The more detail bit is because I've changed my Mesa 7i76 to mode 2 (sserial_port_0=20xxxx)  (i.e. the 2xMPG pins are available) and hence when I run halshow the enc0.count etc etc are available.

but when I run hal report I don't see the enc0 (or 1).count and other associated pins (scale etc etc) as they are obviously not connected to anything yet.

Hence I was just wondering if there was a way to export what halshow sees / has available or more fully than halreport does.

Thanks,

Please Log in or Create an account to join the conversation.

More
29 Apr 2022 12:20 - 29 Apr 2022 12:22 #241632 by HansU
Replied by HansU on topic Halshow + HalReport
Does this generate a list you have in mind?
halcmd show pin > HAL_pinlist.txt
Last edit: 29 Apr 2022 12:22 by HansU.
The following user(s) said Thank You: robertspark

Please Log in or Create an account to join the conversation.

More
29 Apr 2022 12:37 #241635 by cmorley
Replied by cmorley on topic Halshow + HalReport
what is halReport?

Please Log in or Create an account to join the conversation.

More
29 Apr 2022 13:25 #241639 by robertspark
Replied by robertspark on topic Halshow + HalReport
halreport (maybe I confused things with my camel case).... thought it would emphasise the purpose.

linuxcnc.org/docs/devel/html/hal/tools.html#_halreport

Please Log in or Create an account to join the conversation.

More
29 Apr 2022 13:42 #241642 by robertspark
Replied by robertspark on topic Halshow + HalReport

Does this generate a list you have in mind?

halcmd show pin > HAL_pinlist.txt


I'll give it a go later, thanks very much for the pointer.

Please Log in or Create an account to join the conversation.

More
03 May 2022 21:07 #241943 by robertspark
Replied by robertspark on topic Halshow + HalReport

Does this generate a list you have in mind?

halcmd show pin > HAL_pinlist.txt
 

worked perfectly, thanks!

Please Log in or Create an account to join the conversation.

More
03 May 2022 22:26 #241953 by andypugh
Replied by andypugh on topic Halshow + HalReport

what is halReport?

linuxcnc.org/docs/stable/html/man/man1/halreport.1.html

(I found the file when tidying up for the 2.8 release and wrote a basic manpage then. Up to then it was just sat there hiding) 
The following user(s) said Thank You: cmorley, HansU

Please Log in or Create an account to join the conversation.

Time to create page: 0.104 seconds
Powered by Kunena Forum