Built in HAL components not working
- ExcessiveO
- Offline
- Senior Member
Less
More
- Posts: 54
- Thank you received: 5
01 Feb 2022 20:44 #233742
by ExcessiveO
Built in HAL components not working was created 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.
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.
01 Feb 2022 21:19 #233745
by BigJohnT
Replied by BigJohnT on topic Built in HAL components not working
How are you launching LinuxCNC from the RIP?
JT
JT
Please Log in or Create an account to join the conversation.
- ExcessiveO
- Offline
- Senior Member
Less
More
- Posts: 54
- Thank you received: 5
01 Feb 2022 22:45 #233752
by ExcessiveO
Replied by ExcessiveO on topic Built in HAL components not working
running ~/linuxcnc-2.8/scripts/linuxcnc in the terminal
Please Log in or Create an account to join the conversation.
03 Feb 2022 17:28 - 03 Feb 2022 18:23 #233892
by BigJohnT
Replied by BigJohnT on topic Built in HAL components not working
You have to source the rip environment each time you open a terminal
For the sake of completeness, here is all the steps
Open a terminal in the installed top most directory.
Next compile by typing
if realtime behavior and hardware access are required
Before running the software, set the environment
To run the software typeJT
. ./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
Last edit: 03 Feb 2022 18:23 by BigJohnT.
Please Log in or Create an account to join the conversation.
- ExcessiveO
- Offline
- Senior Member
Less
More
- Posts: 54
- Thank you received: 5
29 May 2023 20:02 #272455
by ExcessiveO
Replied by ExcessiveO on topic Built in HAL components not working
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?
TCL error in asynchronous code: ....../emccalib.tcl permission denied
Any other ideas?
Please Log in or Create an account to join the conversation.
29 May 2023 22:39 #272459
by rodw
Replied by rodw on topic Built in HAL components not working
DId you do sudo make?
That wont work. Just type make
That wont work. Just type make
Please Log in or Create an account to join the conversation.
- ExcessiveO
- Offline
- Senior Member
Less
More
- Posts: 54
- Thank you received: 5
30 May 2023 21:19 #272521
by ExcessiveO
Replied by ExcessiveO on topic Built in HAL components not working
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.067 seconds