Am 25.06.2012 um 17:56 schrieb Joachim Franek: > On Monday 25 June 2012 16:26:45 Michael Haberler wrote: >> I would guess the more direct way to do this is a Python userland HAL >> component (http://www.linuxcnc.org/docs/devel/html/hal/halmodule.html) >> >> - use pyserial to access the port >> - suffer through decoding the protocol >> (http://www-user.tu-chemnitz.de/~heha/hs_freeware/UNI-T/ might help) >> - update hal pins with results > > Thanks for the hint. > Is there a plain c equivalent for > "import hal" ?
yes, make it a userland (non-RT) .comp component see options: option userspace yes option userinit yes http://www.linuxcnc.org/docs/devel/html/hal/comp.html > > Joachim > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > Emc-developers mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/emc-developers ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Emc-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-developers
