Re: [Emc-users] HAL userspace component loading problem

2010-02-22 Thread Leonardo Marsaglia
Hello again and thanks for the help, I tried changing the h.halt_in pin but the same happened. Here is what i get when i try to load the component with halcmd in the console. halcmd: loadusr /home/torno/Escritorio/halt :1: execv(/home/torno/Escritorio/halt) failed Thanks again for your help! R

Re: [Emc-users] HAL userspace component loading problem

2010-02-22 Thread Michał Geszkiewicz
Check attributes of your python file. Should be executable. regards, Michael -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applicati

Re: [Emc-users] HAL userspace component loading problem

2010-02-22 Thread Leonardo Marsaglia
Michal, the python script is executable. I really don't know where the problem is, when i tried the same script in my laptop a couple of months ago it worked ok, it's really strange.. i'll try again in my laptop to compare. 2010/2/22 Michał Geszkiewicz > Check attributes of your python file.

Re: [Emc-users] HAL userspace component loading problem

2010-02-22 Thread Jeff Epler
What happens (what error message do you get) when you type the same command at the terminal window shell, instead of running it from a hal script or the halcmd prompt? Jeff -- Download Intel® Parallel Studio Eval Try the

Re: [Emc-users] HAL userspace component loading problem

2010-02-22 Thread acemi list
Maybe it's related with your default python's version On 2/22/10, Jeff Epler wrote: > What happens (what error message do you get) when you type the same > command at the terminal window shell, instead of running it from a hal > script or the halcmd prompt? > > Jeff > > --

Re: [Emc-users] HAL userspace component loading problem

2010-02-22 Thread Leonardo Marsaglia
Hello again, Well at last the script (same) worked, i don't know why, i only created a new plain text file, and put the script in it, and worked. Could be an error with the tabulations or something, but i don't know much about python. Anyway, thanks for your help and concern. Best regards. Leo

Re: [Emc-users] HAL userspace component loading problem

2010-02-22 Thread Leonardo Marsaglia
By the way, is it possible to use the regular C libraries like stdio.h to compile rtai modules with comp? i mean, to replace the using of python userspace components. Thanks again! Leonardo. 2010/2/22 Leonardo Marsaglia > Hello again, > > Well at last the script (same) worked, i don't know why

Re: [Emc-users] HAL userspace component loading problem

2010-02-22 Thread Mark Wendt (Contractor)
With Linux, problems with files not executing are either ownership or privilege related. Before you created the new text file did you do an "ls -alF" on the file? Typically, you will see a 755 or -rwxr-xr-x for the privileges and if the executable file is your own, you'll see your owner accou

Re: [Emc-users] HAL userspace component loading problem

2010-02-22 Thread Leonardo Marsaglia
Mark, didn't do that with the file, but i'll read more about the matter, since i'm not an expert with linux. Thanks for the help. 2010/2/22 Mark Wendt (Contractor) > With Linux, problems with files not executing are either ownership or > privilege related. Before you created the new text file

Re: [Emc-users] HAL userspace component loading problem

2010-02-22 Thread Mark Wendt (Contractor)
Leonardo, What had me thinking in that direction is that you created a new file, dumped your code into it, and now it works. That takes away problems with the Python software and other things, and tends to point towards the original file. Mark At 10:33 AM 2/22/2010, you wrote: >Mark

Re: [Emc-users] HAL userspace component loading problem

2010-02-22 Thread Leonardo Marsaglia
Yes, i thought that too, i did that because i had the script saved in an email, because one of the guys helped me to create it... so the script was always the same, so i thought that the problem could be in the file itself, or in the sintax of the python script due to spaces or copying problems.

[Emc-users] ER40-?

2010-02-22 Thread a
Hi I found on Hardinge web ER-40 collet holder part - 7996-01-40-14 http://www.hardingeus.com/usr/pdf/collet/2351E%28LR%29.pdf But Hardinge said that they do not manufacture this collet any more. Does any one know who manufacture/supply collet -7996-01-40-14 ? Thanks Aram -

Re: [Emc-users] 7i43 GPIO Input Question

2010-02-22 Thread Flying Electron Inc
Thank everyone for the advice. Following the advice, I added a larger pullup but that did not change the behavior. I also switched the E-Stop button from making a connection to ground to breaking a connection from ground. That also did not change the behavior. I did finally figure out what was

Re: [Emc-users] ER40-?

2010-02-22 Thread Niels Jalling
ER40 collets can easily be found on ebay. /Niels > Hi > I found on Hardinge web ER-40 collet holder part - 7996-01-40-14 > http://www.hardingeus.com/usr/pdf/collet/2351E%28LR%29.pdf > But Hardinge said that they do not manufacture this collet any more. > > Does any one know who manufacture/s

Re: [Emc-users] HAL userspace component loading problem

2010-02-22 Thread Jeff Epler
On Mon, Feb 22, 2010 at 11:54:48AM -0300, Leonardo Marsaglia wrote: > By the way, is it possible to use the regular C libraries like stdio.h to > compile rtai modules with comp? i mean, to replace the using of python > userspace components. You can code userspace hal components in Python and compi

Re: [Emc-users] HAL userspace component loading problem

2010-02-22 Thread Leonardo Marsaglia
Jeff thanks a lot for the link, i will read the files and try to understand a little more. 2010/2/22 Jeff Epler > On Mon, Feb 22, 2010 at 11:54:48AM -0300, Leonardo Marsaglia wrote: > > By the way, is it possible to use the regular C libraries like stdio.h to > > compile rtai modules with comp?

Re: [Emc-users] ER40-?

2010-02-22 Thread a
Hi I do not need just ER 40 , i need ER 40 design that specified. i need only 7996-01-40-14 Thanks > ER40 collets can easily be found on ebay. > /Niels > > > >> Hi >> I found on Hardinge web ER-40 collet holder part - 7996-01-40-14 >> http://www.hardingeus.com/usr/pdf/collet/2351E%28LR%29