Well I think we have the cause - no reason to muse about TSC, suspiciously 
fresh RT code and such when plain UI programming blunders in suspiciously old 
and unused code deliver a credible explanation.

The mini.tcl backplot redraw procedure issues PAUSE/RESUME sequences during 
backplot redraw for no discernible reason.

To see it all in the log:

- turn on on the debugging: configs/sim/mini.ini DEBUG=0xffffffff
- run some ngc file

Issuing EMC_TRAJ_CIRCULAR_MOVE --        (+221,+168,    
+0,0.001990,0.000200,-0.100000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.002446,0.002147,-0.100000,0.000000,0.000000,1.000000,
    -1,    +3,0.200000,0.200000,20.000000,    +0,)
Outgoing motion id is 1007.
Issuing EMC_TRAJ_LINEAR_MOVE --          (+220,+120,    
+0,0.001990,0.000200,1.000000,0.000000,0.000000,0.000000,0.000000,0.000000,0.000000,
    +1,1.200000,1.200000,20.000000,    +0,    -1,)

--- at this point I tick the 'backplot' checkbox _once_, and here come the 
culprits, staring at us:

Issuing EMC_TASK_PLAN_PAUSE --   (+510,+12,   +11,)
Issuing EMC_TASK_PLAN_RESUME --          (+512,+12,   +12,)
Issuing EMC_TASK_PLAN_PAUSE --   (+510,+12,   +13,)
Issuing EMC_TASK_PLAN_RESUME --          (+512,+12,   +14,)
Issuing EMC_TASK_PLAN_PAUSE --   (+510,+12,   +15,)
Issuing EMC_TASK_PLAN_RESUME --          (+512,+12,   +16,)
Issuing EMC_TASK_PLAN_PAUSE --   (+510,+12,   +17,)
Issuing EMC_TASK_PLAN_RESUME --          (+512,+12,   +18,)

I commented out the pause/resume code in the backplot redraw procedure, the 
pause/resume sequences are gone; no discernible difference:

http://git.mah.priv.at/gitweb?p=emc2-dev.git;a=commit;h=b8395c4e5f0a7841a114b00fab2f2b02ee5e5956

Chris couldnt see a reason being there as well; I think that is safe to remove; 
this probably should go into 2.5 too after known to work

we learn:
- it is not a bug, rather a feature according to plan, but nobody can tell what 
the plan was
- real men dont use comments - those are for whimps
- bigger hammers should be used only after percussive maintenance with small 
hammers positively doesnt work
- logging is there for a reason ;)


- Michael




------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to