On Thu, 6 Apr 2017, Gene Heskett wrote:

> Date: Thu, 6 Apr 2017 22:19:56 -0400
> From: Gene Heskett <ghesk...@shentel.net>
> Reply-To: "Enhanced Machine Controller (EMC)"
>     <emc-users@lists.sourceforge.net>
> To: "Enhanced Machine Controller (EMC)" <emc-users@lists.sourceforge.net>
> Subject: [Emc-users] for PCW?
> 
> Greetings Peter;
>
> 1) This config I started out with has a watchdog.reset as a separate
> addf'd function which I suspect is in the leftovers that are now past
> their use-by date column.  Can I nuke that addf entry?

In 2.7 and > the hm2 pet_watchdog function has been merged with the hm2_write 
function so it should no longer be called

>
> 2) I'm not that familiar with threads when they are added, slower than
> servo threads.
>
> So, can I move the final write to the 7i90 to the end of that string of
> servo-thread addf's, and treat the other slower thread for my jog wheel
> thread stuff as independent of the servo-thread list?
>
You should ba able to, this is the normal LinuxCNC operation order:

read inputs
process
write outputs


> I feel like I have created a monster by having the jog-thread stuff
> inside the servo-thread addf list in my hal file. But I don't know for
> sure because man 9 threads manpage doesn't illuminate how thats handled.
> It says "hard real time" and one interpretation sets off alarm bells in
> my alleged mind because that implies it might fight with the
> servo-thread enough to cause the joint errors at random times. The
> threads module makes no mention of priority order, and I am using just
> one, slower than servo thread additional thread.  And I would like to
> think the jog-thread only executes between servo-thread invocations.
>
> So can anyone shed some light on this admittedly unusual situation?
>
> Thanks Peter and all.
>
> Cheers, Gene Heskett
> -- 
> "There are four boxes to be used in defense of liberty:
> soap, ballot, jury, and ammo. Please use in that order."
> -Ed Howdershelt (Author)
> Genes Web page <http://geneslinuxbox.net:6309/gene>
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>

Peter Wallace
Mesa Electronics

(\__/)
(='.'=) This is Bunny. Copy and paste bunny into your
(")_(") signature to help him gain world domination.


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to