On Tue, Jan 26, 2016, at 02:57 PM, Nicklas Karlsson wrote:
> I am trying to add support for Profibus to linuxcnc, in particular to be able 
> to use ordinary IO modules.
> 
> I have been busy with other things for a few months. I started on an 
> implementation in Ada but found raspi-profibus 
> http://bues.ch/cms/hacking/profibus.html and think about using this instead.
> 
> The first question is if it is possible to use python in a HAL module? Or if 
> there may be any real time issues with this?
> 

The current RTAI base implementation of HAL runs real-time HAL components
as loadable kernel modules.  Python (or any other interpreted language) simply
does not work at all in that environment.

Non-realtime modules are normal Linux processes.  I believe that there is a 
library
to allow Python to interact with HAL in that environment.

  John Kasunich
  jmkasun...@fastmail.fm

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to