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

                                          
_________________________________________________________________
MSN Dating: Find someone special. Start now.
http://go.microsoft.com/?linkid=9734384
------------------------------------------------------------------------------
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