Am 03.05.2012 um 17:35 schrieb Chris Radek:

> On Thu, May 03, 2012 at 01:35:13PM +0200, Michael Haberler wrote:
>> 
>> note I proposed handling proper queuing of MDI commands by modifying
>> Axis to have a queue of MDI commands, and feed them to task one by one
>> within the interpreter state constraints.
> 
> I have said this before but maybe not plainly enough -

No I havent heard it, and I didnt find it in the linuxcnc requirements/API spec 
document either. Where is google search with useful results when we need it

> I think this
> isn't something to fix in AXIS because if we want MDI queueing to work
> (and I hope we do, somehow) it should work for all UIs.

Considering that this may be a valid argument, under which light it behooves to 
specify:

- the interpreter input handling needs a queue, which will reside in task for 
now and have some configurable maximum size
- that queue shall be flushed on any interpreter abort
- task needs a way to report queue state, (size, and full condition)
- emcmodule needs to enabled to report said state to a caller
- task will drive dequeuing and feeding of interp commands from that list
- the UI's shall observe the 'input queue full' status to disable any input 
facility 

The above shall be added to the core linuxcnc requirements/API spec, in other 
words: fed into the #linuxcnc-dev IRC channel.

While mhaberler is away, said IRC channel is tasked to deliberate and decide 
the following question:

- does it make any sense to differentiate input handling mechanisms wrt 'auto 
mode' and 'MDI mode' AT ALL, OR is it ok to have the interp input queue carry 
any command of the types 'open ngc file', 'execute ngc file' and 'execute a 
string (aka MDI mode)'? 

mhaberler can think of no valid reason for two interfaces right now, as he has 
never understood the conceptual difference between auto mode and MDI mode in 
the first place except for 'string' versus 'file', which obviously at some 
distant past was meant to mean 'single block' versus 'several blocks in a file'

- Michael

style reference: http://static.mah.priv.at/public/dambeaver.txt and assorted EU 
directives

> 
> 
> ------------------------------------------------------------------------------
> 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
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/emc-developers


------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to