Gscreen problem.
In manual mode I have an index tool button.
It pops a dialog you pick the tool umber and it sends an MDI command to tool
change,
which pops a manual tool change dialog to conform you made the change.
Work fine, except you end up still in MDI so jogging doesn't work till you
toggle manual
mode again.
I need a way to toggle to MDI do a command toggle back to manual.
I have done this like so:
def set_user_system(self,system):
print "set user system to :G",system
premode = self.mdi.emcstat.task_mode
self.mdi.set_user_system(system)
self.mdi.emccommand.mode(premode)
self.mdi.emccommand.wait_complete()
and that works great.
unfortunately wait.complete() blocks so when used with tool change the manual
tool change dialog
can't pop up (nor anything else in Gscreen works) - it's a catch 22.
a) is there anyway around this ?
b) is it possible to make toolchanges available in manual mode? Or maybe a
better question a good reason not to allow that.
Chris M
------------------------------------------------------------------------------
The Go Parallel Website, sponsored by Intel - in partnership with Geeknet,
is your hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials, tech docs,
whitepapers, evaluation guides, and opinion stories. Check out the most
recent posts - join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers