You could modify axis to not poll for errors.  The global object 'e' is
the emc.error_channel instance used to poll for errors.  The method
error_task of the LivePlotter instance is what repeatedly checks for
errors every 200ms.

I believe that by simply commenting out the call
    live_plotter.error_task()
near the end of axis.py you will stop axis from polling the error
channel which should consistently make the error available in emcrsh.

I would be happy to review a patch to make this configurable in the
inifile.  The default should continue to be the current behavior.  The
inifile key should probably be something like [DISPLAY]AXIS_POLL_ERRORS
and the value be 0 (do not poll for errors) or 1 (do poll for errors).

Jeff

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to