I found an example usage of this function:

lib/python/pncconf/tests.py

Look at functions make_enc(), make_stp() etc starting about line 1400


         self.hal.c.newpin(encname, hal.HAL_BIT, hal.HAL_OUT)
         hal.new_sig(encname+"-signal",hal.HAL_BIT)
         hal.connect("testpanel."+encname,encname+"-signal")

Moses

On 01/19/2015 01:03 PM, Moses McKnight wrote:
> I have no experience using this, but in halmodule.cc I see there is a 
> "connect"
> function:
>
>       {"connect", connect, METH_VARARGS,
>       "connect pin to signal"},
>
>
> On 01/19/2015 12:31 PM, Niemand Sonst wrote:
>> Does noboddy have an idea or help for me?
>> The hal pin motion.requested-vel do show nearly exactly what I want, but
>> how to listen on that pin from python without using the hal file?
>> I want to avoit the additional connection for my users!
>>
>> Norbert

------------------------------------------------------------------------------
New Year. New Location. New Benefits. New Data Center in Ashburn, VA.
GigeNET is offering a free month of service with a new server in Ashburn.
Choose from 2 high performing configs, both with 100TB of bandwidth.
Higher redundancy.Lower latency.Increased capacity.Completely compliant.
http://p.sf.net/sfu/gigenet
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to