- Posts: 54
- Thank you received: 0
Built in HAL components not working
- ExcessiveO
- Topic Author
- Offline
- Senior Member
-
Less
More
4 years 8 months ago #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 to join the conversation.
4 years 8 months ago #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 to join the conversation.
- ExcessiveO
- Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 54
- Thank you received: 0
4 years 8 months ago #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 to join the conversation.
4 years 8 months ago #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 type
JT
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
Please Log in to join the conversation.
- ExcessiveO
- Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 54
- Thank you received: 0
3 years 5 months ago #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 to join the conversation.
3 years 5 months ago #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 to join the conversation.
- ExcessiveO
- Topic Author
- Offline
- Senior Member
-
Less
More
- Posts: 54
- Thank you received: 0
3 years 5 months ago #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 to join the conversation.
Time to create page: 0.086 seconds
