On 11/27/2013 06:59 AM, Russell Brown wrote: > Quoth: Dewey Garrett <[email protected]> >> For consideration, two patches that: >> >> 1) update the axis manual/mdi tabs when task_mode is changed >> by another gui (halui) >> 2) remove the unneeded axisui.set-manual-mode pin since >> using halui.mode.manual, halui.mode.mdi are available > > Nice, works for me and worth IMVHO having for it's own sake...... > > ...but... > > One still ends up with halui and Axis getting out of sync. > > <something>pokes halui.mode.mdi.... Axis flips to MDI tab. This is > Good. > > User presses <F3>, Axis flips to Manual Tab. Halui still in MDI mode. > Keyboard jogging doesn't work. User looks puzzled. This is Bad.
Try the halui-jit-manual branch i pushed yesterday: http://git.linuxcnc.org/gitweb?p=linuxcnc.git;a=shortlog;h=refs/heads/halui-jit-manual It includes Dewey's patches to Axis that makes it show the tab that represents the current mode of the controller, plus a change to halui that makes it switch the controller to Manual mode when the user requests a jog. > Doesn't Axis 'need' to tell halui when it flips modes? As John said, the *real* mode of the controller lives not in Axis or halui, but in a lower-level part called 'task' (and partially in another low-level part called 'motion'). User interfaces like Axis and halui can ask these low-level parts of the controller what their mode is (this is how halui sets its .is-manual and .is-mdi pins), and they can send commands to the low-level parts to ask them to change their mode. Whatever else the GUIs do, including displaying different tabs to the user or responding to F3/F5 key presses, is not directly related to the mode of the controller. -- Sebastian Kuzminsky ------------------------------------------------------------------------------ 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=84349351&iu=/4140/ostg.clktrk _______________________________________________ Emc-developers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-developers
