I have been using the scales on my manual mill with a pyVCP app here: http://www.wallacecompany.com/machine_shop/EMC2/dro_vfd/
It has worked well, but I have been using Glade and wanted to get a Glade version of this working. What I have so far is here: http://www.wallacecompany.com/machine_shop/LinuxCNC/gDRO/ So far so good, but when the Glade window closes the focus returns to the halrun prompt and I have to type quit to exit halrun. I tried using waitusr in the .hal file but this requires me to use control-Z to exit and halrun doesn't close, so I need "halrun -U" to clean things up. I suspect that the ui.py file closes the app window okay (gtk.main_quit()), but there is no close app signal connection to the file that calls the ui.py file, which is the halrun command. Am I close or do I need to to look at something else? -- Kirk Wallace http://www.wallacecompany.com/machine_shop/ http://www.wallacecompany.com/E45/ ------------------------------------------------------------------------------ Want fast and easy access to all the code in your enterprise? Index and search up to 200,000 lines of code with a free copy of Black Duck Code Sight - the same software that powers the world's largest code search on Ohloh, the Black Duck Open Hub! Try it now. http://p.sf.net/sfu/bds _______________________________________________ Emc-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-developers
