Built in HAL components not working

More
4 years 9 months ago #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
4 years 8 months ago #233745 by BigJohnT
How are you launching LinuxCNC from the RIP?

JT

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

More
4 years 8 months ago #233752 by ExcessiveO
running ~/linuxcnc-2.8/scripts/linuxcnc in the terminal

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

More
4 years 8 months ago - 4 years 8 months ago #233892 by BigJohnT
You have to source the rip environment each time you open a terminal
Code:
. ./scripts/rip-environment

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

Next compile by typing
Code:
make

if realtime behavior and hardware access are required
Code:
sudo make setuid

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

To run the software type
Code:
linuxcnc
JT
Last edit: 4 years 8 months ago by BigJohnT.

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

More
3 years 5 months ago #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
3 years 5 months ago #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.

Time to create page: 0.299 seconds
Powered by Kunena Forum