On Sun, 12 Aug 2012, andy pugh wrote:

> Date: Sun, 12 Aug 2012 16:21:46 +0100
> From: andy pugh <bodge...@gmail.com>
> Reply-To: EMC developers <emc-developers@lists.sourceforge.net>
> To: EMC developers <emc-developers@lists.sourceforge.net>
> Subject: Re: [Emc-developers] future plannig was: LinuxCNC (EMC2) with RCS
> 
> On 12 August 2012 15:32, Kenneth Lerman <kenneth.ler...@se-ltd.com> wrote:
>
>> The difference is that the logic component and arithmetic component had
>> (virtually) unlimited inputs and outputs. The configurations for those
>> components let you "say" things like:
>> (For the arithmetic component)
>> offset = range/2
>> gain = 2 * (basis + offset)
>
>> Thoughts, comments, ideas?
>
> I think that being able to use simple mathematical/logic  expressions
> in HAL would be a huge improvement. I am not sure how easy it would be
> in practice, but it seems that the HAL parser might be able to loadrt
> a gain every time it sees * and a sum2 if it sees a + or -.
> However, I am not sure that is the _right_ way to do it.
>
> There is no thread-based interpretation of "net" commands, though, so
> I don't know if there is any other way to do it.
>

Do you mean which thread actuates the statement? I guess this could just be
specified by section header:

[servothread]

hal-statements with implied comps

> -- 
> atp
> If you can't fix it, you don't own it.
> http://www.ifixit.com/Manifesto

Peter Wallace
Mesa Electronics

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to