On Thu, 25 Mar 2021 at 03:05, Jon Elson <el...@pico-systems.com> wrote:
> I already have a pyvcp on it. I'd like to add buttons > marked 1, 2, 3 and 4, and when the user clicks > one, the G-code is fed to the interpreter and run. You can do this, as mentioned, with PyVCP and MDI_COMMANDS (and note that an MDI_COMMAND can call an O-word sub) But it might be neater to use GladeVCP, which has MDI buttons with commands built in (and which can use values from elsewhere in the GUI) http://linuxcnc.org/docs/html/gui/gladevcp.html#_action_widgets_reference I imagine that QTVCP has the same capability. -- atp "A motorcycle is a bicycle with a pandemonium attachment and is designed for the especial use of mechanical geniuses, daredevils and lunatics." — George Fitch, Atlanta Constitution Newspaper, 1912 _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users