Built in HAL components not working

More
01 Feb 2022 20:44 #233742 by ExcessiveO
I have been compiling linuxcnc and running it in place. When I launch it I cannot open the hal config or calibration windows from the dropdown menu(in Axis). I can however add "loadusr halshow" to the main hal file and it will open that window at the start of the program. I have not been able to figure out how to do the same thing with the calibration window.

The specific error I am getting is that for halshow.tcl or emccalib.tcl permission is denied.

Any idea how to get the calibration window working? I have a ton of tuning to do and I'd rather not need to edit the .ini and restart everything after each change.

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

More
01 Feb 2022 21:19 #233745 by BigJohnT
How are you launching LinuxCNC from the RIP?

JT

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

More
01 Feb 2022 22:45 #233752 by ExcessiveO
running ~/linuxcnc-2.8/scripts/linuxcnc in the terminal

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

More
03 Feb 2022 17:28 - 03 Feb 2022 18:23 #233892 by BigJohnT
You have to source the rip environment each time you open a terminal
. ./scripts/rip-environment

For the sake of completeness, here is all the steps
Open a terminal in the installed top most directory.
cd src
./autogen.sh
./configure --with-realtime=uspace

Next compile by typing
make

if realtime behavior and hardware access are required
sudo make setuid

Before running the software, set the environment
cd ..
. ./scripts/rip-environment

To run the software type
linuxcnc                                   
JT
Last edit: 03 Feb 2022 18:23 by BigJohnT.

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

More
29 May 2023 20:02 #272455 by ExcessiveO
So I finally have the time to get back into this project and I still have the same issue. I ran all the commands you said and got no errors but I still cannot get the calibration window to start. I just get:

TCL error in asynchronous code: ....../emccalib.tcl permission denied

Any other ideas?

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

More
29 May 2023 22:39 #272459 by rodw
DId you do sudo make?
That wont work. Just type make

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

More
30 May 2023 21:19 #272521 by ExcessiveO
I did just make, I only used sudo for sudo make setuid

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

Time to create page: 0.107 seconds
Powered by Kunena Forum