I'd be happy to do that

let me put the question differently - which halcmd functions would be deemed 
useful to have in the Python hal.so module as well?

I'd appreciate some feedback if this is complete b.s./so-so/great before I 
start though ;-)

-Michael



Am 04.06.2010 um 23:13 schrieb Chris Morley:

> Can we add 'new signal' and 'connect signal' too?.
> I kludged something like that together for pncconf in my 
> personal git but not anything I would want to push.
> using a shell in python to do this did not work as 
> the shell was not in sync with the component being made.
> It would try to connect to pins that had not been created yet.
> adding the commands to halmodule fixed the sync problem.
> But I just cut and pasted from halcmd.c then hacked 
> it to work. 
> 
> Chris M
> 
>> From: [email protected]
>> Date: Fri, 4 Jun 2010 18:07:46 +0200
>> To: [email protected]
>> Subject: [Emc-developers] halmodule.cc enhancement: gets/getp/setp methods   
>> added
>> 
>> Sometimes it's useful to access signals and pins of other components 
>> directly (without running 'halcmd getp' etc).
>> 
>> This patch adds hal.getp(), hal.setp() and hal.gets() commands to the Python 
>> hal module. A usage example is in the docstring.
>> 
>> -Michael
> 
> 
> Enter for a chance to get your town photo on Bing.ca! Submit a Photo Now! 
> ------------------------------------------------------------------------------
> 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


------------------------------------------------------------------------------
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