Michael Haberler wrote:
> I'd be happy to do that
>    
Cool.  Thanks.
> let me put the question differently - which halcmd functions would be deemed 
> useful to have in the Python hal.so module as well?
>    
Well, what if someone wanted to rewrite halcmd in python?  How about all 
of those :)

load and unload components (halcmd doesn't really do this, it just uses 
exec or emc_module_helper, depending)
create / destroy signals
attach / detach pins to/from signals
get status information
walk pin/param/component/thread lists (maybe with options for returning 
the whole list as a python list, or iterating through)

It would be great to have a python halcmd, where you could use "eval" 
(or similar) to do all the things that python can do, with HAL - 
evaluate expressions to set values, conditionals and loops, etc.
> I'd appreciate some feedback if this is complete b.s./so-so/great before I 
> start though ;-)
>    
It looks great to me.

- Steve


------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to