- Posts: 19306
- Thank you received: 0
Switch relay in a defined x position
4 years 9 months ago #232166
by andypugh
Replied by andypugh on topic Switch relay in a defined x position
Are you running an installed version of LinuxCNC or one you compiled yourself?What or where is the wrong?
Please Log in to join the conversation.
4 years 9 months ago #232168
by mgm
Replied by mgm on topic Switch relay in a defined x position
I first installed linux MX and then Linuxcnc following the instructions here in the forum
Please Log in to join the conversation.
4 years 9 months ago #232171
by rodw
Replied by rodw on topic Switch relay in a defined x position
That does not really answer the question. I'm sure Andy does not use MX Linux and neither do I.
Do those instructions require you to use make or did you use synaptic or apt?
Also errors should have a line number reported. check which line it fails on and what is on that line.
Do those instructions require you to use make or did you use synaptic or apt?
Also errors should have a line number reported. check which line it fails on and what is on that line.
Please Log in to join the conversation.
4 years 9 months ago #232174
by mgm
Replied by mgm on topic Switch relay in a defined x position
I installed it with synaptic.
The error message is in the line:
Addf downdraft servo thread
The error message is in the line:
Addf downdraft servo thread
Please Log in to join the conversation.
4 years 9 months ago #232175
by rodw
Replied by rodw on topic Switch relay in a defined x position
Did you use sudo when you used halcompile. you need root access to write to the folder.
Please Log in to join the conversation.
4 years 9 months ago #232176
by mgm
Replied by mgm on topic Switch relay in a defined x position
Yes I have used Sudo
Please Log in to join the conversation.
4 years 9 months ago #232177
by mgm
Replied by mgm on topic Switch relay in a defined x position
This is the result of halcompile:
compiling realtime downdraft.c
Linking downdraft.so
cp downdraft.so /usr/lib/linuxcnc/modules/
Is this the right place to put the file?
compiling realtime downdraft.c
Linking downdraft.so
cp downdraft.so /usr/lib/linuxcnc/modules/
Is this the right place to put the file?
Please Log in to join the conversation.
4 years 9 months ago #232179
by rodw
Replied by rodw on topic Switch relay in a defined x position
sudo halcompile --install
allways works for me.
Perhaps try the comp and wcomp components Andy linked to as they are part of the core.
allways works for me.
Perhaps try the comp and wcomp components Andy linked to as they are part of the core.
Please Log in to join the conversation.
4 years 9 months ago #232180
by andypugh
Replied by andypugh on topic Switch relay in a defined x position
Yes, it seems to have gone to the right place.
The function name is probably downdraft.0
(and it might be simpler to use one of the built-in modules, terse[1] documentation aside.)
[1] Terse to a fault, I agree
The function name is probably downdraft.0
(and it might be simpler to use one of the built-in modules, terse[1] documentation aside.)
[1] Terse to a fault, I agree
Please Log in to join the conversation.
4 years 9 months ago #232184
by rodw
Replied by rodw on topic Switch relay in a defined x position
Actually, I think my hal example uses names=ddraft
and has a typo
try
addf ddraft servo-thread
and has a typo
try
addf ddraft servo-thread
Please Log in to join the conversation.
Time to create page: 0.064 seconds
