Switch relay in a defined x position

More
17 Jan 2022 19:14 #232166 by andypugh

What or where is the wrong?

Are you running an installed version of LinuxCNC or one you compiled yourself? 
 

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

More
17 Jan 2022 19:22 #232168 by mgm
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.

More
17 Jan 2022 19:29 #232171 by rodw
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.

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

More
17 Jan 2022 19:56 #232174 by mgm
I installed it with synaptic.
The error message is in the line:
Addf downdraft servo thread

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

More
17 Jan 2022 19:59 #232175 by rodw
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.

More
17 Jan 2022 20:12 #232176 by mgm
Yes I have used Sudo

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

More
17 Jan 2022 20:16 #232177 by mgm
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?

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

More
17 Jan 2022 20:24 #232179 by rodw
sudo halcompile --install 
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.

More
17 Jan 2022 20:25 #232180 by andypugh
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

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

More
17 Jan 2022 20:32 #232184 by rodw
Actually, I think my hal example uses names=ddraft
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.158 seconds
Powered by Kunena Forum