On Sat, 2012-02-18 at 13:18 -0800, Kirk Wallace wrote:
> Hello. My mbrtuport user component for the most part is working, but it
> doesn't seem to want to stop.
> http://wallacecompany.com/machine_shop/EMC2/sj200mbbasic/mbrtuport.c 
> 
> When I shutdown LinuxCNC, then try to restart, I get an error that
> realtime exists. ps -e shows that my mbrtuport is still active from the
> last run. If I kill it and halrun -U, LinuxCNC will start fine, but
> again mbrtuport stays running on exit. Might there be something wrong
> with my main loop switch/case breaks? Or something else? Thanks for any
> help.

Well, adding a usleep() as the first line in the loop fixed it, or at
least made the exiting problem go away. Getting both components to work
together looks like it's going take some work.
-- 
Kirk Wallace
http://www.wallacecompany.com/machine_shop/
http://www.wallacecompany.com/E45/index.html
California, USA


------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to