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® 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
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users