On 09/20/2016 08:36 AM, Florian Rist wrote:
>> http://linuxcnc.org/docs/2.7/html/hal/halmodule.html
>
> I know that documentation page. But I don't get it....
>
> How to access an existing signal?

Your python program creates a pin for the sensor reading, and you link 
the pin to the signal in the usual way.  Probably the easiest way is to 
do it in the same hal file that starts your python program:

        loadusr py-sensor-reader
        net py-sensor-reader.value => sensor-value


-- 
Sebastian Kuzminsky

------------------------------------------------------------------------------
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to