> in principle those two are unrelated ; of course they should work on the same > ngc program. UI's deal with that by telling the preview interpreter to > generate preview, and tell milltask to actually execute the program driving > the machine. > > what happened with your program: you talked to the milltask interpreter, > which bypassed the UI - it cant possibly know of the new file > > you might want to study axis-remote and the code in UI's to achieve the > desired effect: http://linuxcnc.org/docs/html/man/man1/axis-remote.1.html > > -Michael >
If you use master and Gmoccapy or Gscreen then you could tap into Gstat's Gobject signal (in your program) and that can emit a 'reload file' signal. another possible way is to use your program as an AXIS filter (master or 2.5.3) AXIS can load a python program that when finished emits gcode and then you can run that. http://www.linuxcnc.org/docs/2.5/html/gui/axis.html#_program_filters Not sure if you can make that work... Chris M ------------------------------------------------------------------------------ Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users