Re: [Emc-developers] Problem with python interface

2015-01-19 Thread Moses McKnight
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."+encnam

Re: [Emc-developers] Problem with python interface

2015-01-19 Thread Moses McKnight
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

Re: [Emc-developers] Problem with python interface

2015-01-19 Thread Niemand Sonst
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 Am 17.01.2015 um 20:11 schrieb Niemand Sonst: > Hal