On Fri, Oct 30, 2015, at 10:25 AM, andy pugh wrote:
> 
> (Why do we have both pins and parameters? Pins use up shared memory,
> parameters use the much less limited ordinary memory).

Actually pins and parameters both use shared memory for their metadata
(which is much bigger than the actual pin data, 50-60 bytes vs 4-8 bytes).

We have both because I made a bad decision a long time ago.  I used a
hardware analogy when designing HAL.  Pins are like the inputs and 
outputs of a servo amp.  Parameters are like the adjustment pots on that
amp (gain, etc).  I made a false distinction when I decided that some things
would need to be interconnected and other things wouldn't.  People always
find new ways to do things, and they want to interconnect stuff that I thought
they wouldn't interconnect.  In hindsight, everything should have been a pin.

-- 
  John Kasunich
  [email protected]

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

Reply via email to