Help using comp
11 Sep 2012 17:17 #24168
by dond3
Replied by dond3 on topic Re:Help using comp
Thanks ArcEye,
I did heed your warning about spurious characters in the "comp" file but I couldn't tell what belonged
and what didn't.
I installed your copy and it seems to work. I'm missing at least one shared library (libenchal.so.0) so will
try to find the source code.
Thanks for the tip on "loadusr". That made "hal" recognize the component.
Will be gone the rest of the day but will work on it tonight.
Thanks again,
Don
I did heed your warning about spurious characters in the "comp" file but I couldn't tell what belonged
and what didn't.
I installed your copy and it seems to work. I'm missing at least one shared library (libenchal.so.0) so will
try to find the source code.
Thanks for the tip on "loadusr". That made "hal" recognize the component.
Will be gone the rest of the day but will work on it tonight.
Thanks again,
Don
Please Log in or Create an account to join the conversation.
12 Sep 2012 01:53 #24175
by dond3
Replied by dond3 on topic Re:Help using comp
It appears that:
libemchal.so.0 has been replaced by liblinuxcnchal.so.0
and
libemcini.so.0 has been replaced by liblinuxcncini.so.0.
I did symlinks (ln -s) from the current files to the old files which kind of worked. Linuxcnc crashes
saying it can't find "port", no such file.
I can see the Arduino at /dev/ttyACM0.
Unless someone has an idea whats going on, I will give it a rest for a while.
Thanks again,
Don
libemchal.so.0 has been replaced by liblinuxcnchal.so.0
and
libemcini.so.0 has been replaced by liblinuxcncini.so.0.
I did symlinks (ln -s) from the current files to the old files which kind of worked. Linuxcnc crashes
saying it can't find "port", no such file.
I can see the Arduino at /dev/ttyACM0.
Unless someone has an idea whats going on, I will give it a rest for a while.
Thanks again,
Don
Please Log in or Create an account to join the conversation.
12 Sep 2012 06:27 - 12 Sep 2012 06:28 #24180
by ArcEye
Replied by ArcEye on topic Re:Help using comp
Hi
Time zone difference across the great divide, up now.
The answer to both your posts is essentially the same. This was an example program and never meant to be distributed as a compiled binary.
The library linkage is because it was compiled on a machine running a development version of linuxcnc, not the release version where everything is re-named.
The address is coded as a define at the top of the code, #define DEVICE "/dev/ttyUSB0".
You will need to change that and re-compile. Your library problem will go away at that point too
regards
Time zone difference across the great divide, up now.
The answer to both your posts is essentially the same. This was an example program and never meant to be distributed as a compiled binary.
The library linkage is because it was compiled on a machine running a development version of linuxcnc, not the release version where everything is re-named.
Unfortunately serialcon is looking for the arduino at /dev/ttyUSB0 because I used a duemilanove board and you are using an ATMega which has a different port default.I can see the Arduino at /dev/ttyACM0.
The address is coded as a define at the top of the code, #define DEVICE "/dev/ttyUSB0".
You will need to change that and re-compile. Your library problem will go away at that point too
regards
Last edit: 12 Sep 2012 06:28 by ArcEye.
Please Log in or Create an account to join the conversation.
12 Sep 2012 15:04 #24197
by dond3
Replied by dond3 on topic Re:Help using comp
Hi ArcEye,
AWESOME!
Now everything works! It never crossed my mind that the duemilanove and UNO had different
port addresses.
You have been very generous with your time and expertise. Thank you very much and Thanks
to all that jumped in to help me. This is a great forum.
I'm not much of a software guy but I do make some nice swarf.
Don
AWESOME!
Now everything works! It never crossed my mind that the duemilanove and UNO had different
port addresses.
You have been very generous with your time and expertise. Thank you very much and Thanks
to all that jumped in to help me. This is a great forum.
I'm not much of a software guy but I do make some nice swarf.
Don
Please Log in or Create an account to join the conversation.
Time to create page: 0.062 seconds