On Thu, 18 Apr 2019 at 04:34, Chris Morley <[email protected]> wrote:
>
> While I was toying with a tool startup problem from the forum, I discovered 
> that iocontrol.cc never runs
> the EMC_TOOL_INIT NML message even though taskclass.cc sends it.

This has been sat in the bottom of my inbox waiting for me to got
round to looking at it.
(And I still haven't, in any detail)

> So when iocontrol is first run the serial number is 0 and the echo is 
> immediately advanced to 1 when updating the HAL pins.
> When the EMC_TOOL_INIT message comes it has a serial number of 1 and echo 
> already has a number of 1.
> So the EMC_TOOL_INIT is never run but the serial/echo number synchs and 
> everything works from there.

I see the same code in iocontrolV2. (What is "better" about
iocontrolv2 and why isn't it the default?)

-- 
atp
"A motorcycle is a bicycle with a pandemonium attachment and is
designed for the especial use of mechanical geniuses, daredevils and
lunatics."
— George Fitch, Atlanta Constitution Newspaper, 1916


_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to