Thank you Sebastion, This is for my new to me EMCO compact 5 cnc lathe retrofit.
I use a lot of "o" word loops in my programs. When debugging if I get more than four messages ,they start to scroll over my tool changer information. So I thought if I could clear the messages just before I sent a new one they wouldn't scroll ,making a cleaner display. I will study what you suggest and see what I can come up with. On 01/30/2014 01:51 PM, Sebastian Kuzminsky wrote: > On 1/30/14 08:50 , Jim Wilkin wrote: >> I would like to make a gcode Say G133 or M64 to perform the key stroke >> ctl+space to clear the MSG and DBUG messages. >> >> I'm unable to find a "pin" to do this. >> >> Perhaps it has all ready been done? >> >> Any suggestions would be appreciated. > > I think there's currently no easy way to do this, but it looks like it'd > be pretty straight forward to implement. > > But i must ask, what is the use case for this? What problem are you > trying to solve by clearing gui messages from gcode? > > > If you want to implement this, i'd suggest: > > * add a new command-line argument to axis-remote to send a new message > to axis, > > * add the matching handler for that message in axis' TclCommands.remote() > > * the handler would call Notifications.clear(), just like Ctrl-Space does > > > Then you can add a custom M-code script to call "axis-remote > --clear-messages". > > ------------------------------------------------------------------------------ WatchGuard Dimension instantly turns raw network data into actionable security intelligence. It gives you real-time visual feedback on key security issues and trends. Skip the complicated setup - simply import a virtual appliance and go from zero to informed in seconds. http://pubads.g.doubleclick.net/gampad/clk?id=123612991&iu=/4140/ostg.clktrk _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
