Development: PID Tuning GUI and HAL

More
30 Jan 2011 12:59 #6871 by billykid
Thank you for your work and for quick response.
usually work with the analog oscilloscope and then how it was working.
for example if I open from emc2 halscope, moving motors emc2 halscope disappears ...
I read the guide to better halscope :-)
thanks
Mauro

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

More
31 Jan 2011 14:45 #6899 by dab77
Ciao Mauro, when i use halscope i use to click in the left top angle of the window and select 'sempre in primo piano' i don't know the english way, but i'm sure you have that in italian..
this way the scope will be always in sight.

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

More
01 Feb 2011 19:47 - 01 Feb 2011 21:10 #6938 by billykid
grazie Dab77 :)
I tried to run "halrun -f config.hal" but I get this error:
config.hal: 10: Can not find module 'line4to2'in / usr/realtime-2.6.32-122-rtai/modules/emc2.
I copied these forms, but should not be the same

mauro
Last edit: 01 Feb 2011 21:10 by billykid.

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

More
01 Feb 2011 21:23 #6940 by malleblas
Hello Mauro,

The configuration is fine. There are some files though, with the extension .comp. These files are custom HAL components. To utilise these components you must pull up a terminal, traverse to the directory where the comp files are located and run:

comp --install *.comp

That should compile and install the HAL components, and next time you run the setup, those errors should go away.
For more information visit linuxcnc.org/docs/html/hal_comp.html

-Mikey

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

More
01 Feb 2011 21:30 #6941 by billykid
Thanks Mikey, I feel tomorrow I'm going to bed :-)

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

More
02 Feb 2011 12:31 #6957 by billykid
I tried the first simple version, and now this error.

mauro@mauro-cnc:~/emc2/configs/tuning$ halrun -f config.hal
config.hal:4: Warning: File contains DOS-style line endings.
insmod: error inserting '/usr/realtime-2.6.32-122-rtai/modules/emc2/scope_rt.ko': -1 Unknown symbol in module
<commandline>:0: exit value: 1
<commandline>:0: insmod failed, returned -1
See the output of 'dmesg' for more information.
loadrt scope_rt failed

thanks
Mauro

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

More
03 Feb 2011 21:35 #6982 by malleblas
Strange error, but outside the scope of the thread. Looks like a potential compilation problem? Otherwise, it might be an error emanating from your configuration file. Ensure that it has UN*X line endings, which I think are \n, not \r\n which is standard DOS/Windows.

-Mikey

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

More
04 Feb 2011 19:57 #6996 by billykid
in effect during the command: comp - install *. comp appeared warning ....
the test was done on a PC with the latest versions of EMC2 and hostmot2 on ubuntu 10.04
thanks
Mauro

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

More
18 May 2011 15:31 #9914 by fabworx
i downloaded the zip how do i start it? thanx

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

More
18 May 2011 16:17 #9915 by fabworx
im getting this error


make KBUILD_EXTRA_SYMBOLS=/usr/realtime-2.6.32-122-rtai/modules/emc2/Module.symvers -C /usr/src/linux-headers-2.6.32-122-rtai SUBDIRS=`pwd` CC=gcc V=0 modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.32-122-rtai'
CC [M] /tmp/tmp3V39IT/line4to2.o
Building modules, stage 2.
MODPOST 1 modules
CC /tmp/tmp3V39IT/line4to2.mod.o
LD [M] /tmp/tmp3V39IT/line4to2.ko
make[1]: Leaving directory `/usr/src/linux-headers-2.6.32-122-rtai'
cp line4to2.ko /usr/realtime-2.6.32-122-rtai/modules/emc2/
cp: cannot create regular file `/usr/realtime-2.6.32-122-rtai/modules/emc2/line4to2.ko': Permission denied
make: *** [install] Error 1

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

Time to create page: 0.115 seconds
Powered by Kunena Forum