cut and paste from HAL configuration
09 Aug 2016 22:09 #78543
by jwsigler
cut and paste from HAL configuration was created by jwsigler
I am setting up linuxcnc on my mill and going through the HAL configuration. I want to compare the hal pin information in hal configuration against what I am putting in my hal file. I am more of a pen and paper guy so I would like to cut and paste the pin info from HAL configuration into a text file and then print it out. Anyone know if it is possible to cut and paste the information displayed in the HAL configuration window? I was able to highlight the text, but a right click does not bring up any cut/paste options.
Thanks
Thanks
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19209
- Thank you received: 6438
09 Aug 2016 22:17 #78545
by tommylight
Replied by tommylight on topic cut and paste from HAL configuration
No it does not work, just gave it a try, but you can do this all day long, see below:
Just press and hold ALT and press PrtScr ( print screen, on all keyboards above the insert/home/page up ).
Regards,
Tom
Just press and hold ALT and press PrtScr ( print screen, on all keyboards above the insert/home/page up ).
Regards,
Tom
Please Log in or Create an account to join the conversation.
- Todd Zuercher
- Offline
- Platinum Member
Less
More
- Posts: 5007
- Thank you received: 1441
10 Aug 2016 01:13 #78552
by Todd Zuercher
Replied by Todd Zuercher on topic cut and paste from HAL configuration
You can open a command prompt while Linuxcnc is running and type
halcmd -kf
then
show pin
to print a list of all the pins.
halcmd -kf
then
show pin
to print a list of all the pins.
Please Log in or Create an account to join the conversation.
- Todd Zuercher
- Offline
- Platinum Member
Less
More
- Posts: 5007
- Thank you received: 1441
10 Aug 2016 01:46 #78553
by Todd Zuercher
Replied by Todd Zuercher on topic cut and paste from HAL configuration
A little more refinement.
With Linuxcnc running open a command prompt and typepress Enter
then typepress Enter
Exit halcmd
Now there will be a file in your home dir (or where ever you opened your command prompt) named pin.txt
This text file will contain all the pin info that you can look at in the show hal window.
With Linuxcnc running open a command prompt and type
halcmd -kf | tee pin.txt
then type
show pin
Exit halcmd
Now there will be a file in your home dir (or where ever you opened your command prompt) named pin.txt
This text file will contain all the pin info that you can look at in the show hal window.
Please Log in or Create an account to join the conversation.
17 Aug 2016 12:51 #78928
by andypugh
Replied by andypugh on topic cut and paste from HAL configuration
Actually, I think you can just use the single line
halcmd show pin > pins.txt
Please Log in or Create an account to join the conversation.
20 Aug 2016 17:22 #79151
by BigJohnT
That is correct, to expand a bit, open a terminal after starting LinuxCNC and type the above to get a text file with a list of all pins.
More "show" commands are located in the documents.
linuxcnc.org/docs/2.7/html/hal/tutorial.html#_examining_the_hal
JT
Replied by BigJohnT on topic cut and paste from HAL configuration
Actually, I think you can just use the single line
halcmd show pin > pins.txt
That is correct, to expand a bit, open a terminal after starting LinuxCNC and type the above to get a text file with a list of all pins.
More "show" commands are located in the documents.
linuxcnc.org/docs/2.7/html/hal/tutorial.html#_examining_the_hal
JT
Please Log in or Create an account to join the conversation.
Time to create page: 0.071 seconds