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
<stdin>:1: execv(/home/torno/Escritorio/halt) failed

Thanks again for your help!

Regards.

Leonardo.


2010/2/22, Michał Geszkiewicz <mic...@wp.pl>:
> Leonardo Marsaglia pisze:
>> Hello everybody,
>>
>> I've got a really strange problem with a simple userspace component that
>> i've already used before. But this time in a new machine i can't make it
>> work.
>>
>> Everytime i try to load the component i get a FAILED message.
>>
>> The python lines are the following:
>>
>> #!/usr/bin/python
>> import hal, os
>> h = hal.component("halt1")
>> h.newpin("halt_in", hal.HAL_BIT, hal.HAL_IN)
>> h.ready()
>> h.halt_in = 0
>>
> I think there should be h["halt_in"] = 0
>> while h.halt_in == 0:
>>
> while h["halt_in"] == 0:
>
> rest of code seems ok.
>
> regards,
> Michael
>
> ------------------------------------------------------------------------------
> Download Intel&#174; Parallel Studio Eval
> Try the new software tools for yourself. Speed compiling, find bugs
> proactively, and fine-tune applications for parallel performance.
> See why Intel Parallel Studio got high marks during beta.
> http://p.sf.net/sfu/intel-sw-dev
> _______________________________________________
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to