Switch relay in a defined x position
17 Jan 2022 19:14 #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 or Create an account to join the conversation.
17 Jan 2022 19:22 #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 or Create an account to join the conversation.
17 Jan 2022 19:29 #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 or Create an account to join the conversation.
17 Jan 2022 19:56 #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 or Create an account to join the conversation.
17 Jan 2022 19:59 #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 or Create an account to join the conversation.
17 Jan 2022 20:12 #232176
by mgm
Replied by mgm on topic Switch relay in a defined x position
Yes I have used Sudo
Please Log in or Create an account to join the conversation.
17 Jan 2022 20:16 #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 or Create an account to join the conversation.
17 Jan 2022 20:24 #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 or Create an account to join the conversation.
17 Jan 2022 20:25 #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 or Create an account to join the conversation.
17 Jan 2022 20:32 #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 or Create an account to join the conversation.
Time to create page: 0.467 seconds