The following error was reported when I exited machinekit:

<https://lh3.googleusercontent.com/-iY8cYqximyg/Wb8y71D8aeI/AAAAAAAAAAM/zmROhWiGNtUiiDpyD7MSJaSfmdwFBhgvgCLcBGAs/s1600/%25E5%259B%25BE%25E7%2589%25871.png>


I found that LCEC did not join in the .hal file will not appear this error.


I made the following attempt:

  1 Load real time modules directly with "halcmd":

    realtime start 

    halcmd loadrt trinvkins

    halcmd loadrt tp

    halcmd loadrt motmod servo_period_nsec=1000000 num_joints=2

    halcmd loadusr -W lcec_conf ethercat_config.xml

    halcmd loadrt lcec


  
<https://lh3.googleusercontent.com/-2Vp2jgY2Iyc/Wb83n_kE_rI/AAAAAAAAAAY/qXkXNCAYaCsojyv8B6VbyRkQzqgOK9ltACLcBGAs/s1600/%25E5%259B%25BE%25E7%2589%25872.png>

 

    The realtime status is running,but it will stopped when I unload lcec:

  
<https://lh3.googleusercontent.com/-qIgdd5gOWPE/Wb84CIyThAI/AAAAAAAAAAc/noCEfnK2Iv4mMpx88Lh6agClwbZkNLgBwCLcBGAs/s1600/%25E5%259B%25BE%25E7%2589%25873.png>


    I tried uninstalling other modules without uninstalling LCEC,the 
realtime status is still running.


  2 Change the /usr/bin/linuxcnc:Cleanup()

  
<https://lh3.googleusercontent.com/-13_1730xvUI/Wb86r5KD0QI/AAAAAAAAAAo/cDPm-HYOPEAjFdqfk1rxYn-4B12y1NyXwCLcBGAs/s1600/%25E6%2588%25AA%25E5%259B%25BE20170918111233.png>

    Then this error will not report when machinekit exit.


But I don.t not why unload the LCEC realtime will be stopped.


Hope to get your help, thank you!


-- 
website: http://www.machinekit.io blog: http://blog.machinekit.io github: 
https://github.com/machinekit
--- 
You received this message because you are subscribed to the Google Groups 
"Machinekit" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at https://groups.google.com/group/machinekit.
For more options, visit https://groups.google.com/d/optout.

Attachment: hal_component.hal
Description: Binary data

Attachment: ethercat_config.xml
Description: XML document

Attachment: laserahead.ini
Description: Binary data

Reply via email to