On Monday 04 December 2017 14:52:07 Rod Webster wrote:

> "I can't think
> of any time where there is a need for LCNC to remain in MDI mode after
> issuing an MDI."
>
> In Gmoccapy, switching modes changes the tab displayed even if the
> mode change is done from external hardware as I do. What Kurt proposes
> might leave users feeling a bit dizzy as I think after every MDI
> command, it would swap back to the jog tab.
>
> Rod Webster
> +61 435 765 611
> Vehicle Modifications Network
> www.vehiclemods.net.au
>
And I've grown to like it not reverting because its a  heck of a lot less 
mouse clicks to setup a 4 or 5 command cycle, and just cycle thru the 
history to re-enter the commands that are consistent within a loop.

Having to keyboard or mouse click after an mdi command just to issue the 
next one in a quick loop, would be a pita to me.

My $0.02.

> On 5 December 2017 at 05:27, Kurt Jacobson <[email protected]> 
wrote:
> > Any UI that wants to work well with wheel jogging has to find some
> > way of setting the task_mode
> > back to manual after each MDI command, and as we have seen that is
> > not trivial to do without
> > breaking external programs that issue MDI commands. In fact, I do
> > not think it is an overstatement
> > to say that so far *nobody* has managed to make both wheel jogging
> > and external  MDI commands
> > work satisfactorily at the same time.
> >
> > Since all UIs suffer from this problem, it seem like instead of each
> > UI using some kind of work
> > around, this problem might should be solved at a lower level.
> >
> > I have no idea what MDI mode actually does internally, but from a
> > practical user perspective, I can't think
> > of any time were there is a need for LCNC to remain in MDI mode
> > after issuing an MDI.
> >
> > As far as I can tell most UIs that work well with wheel jogging
> > employ something like the following pseudo code:
> >
> > def issue_mdi(cmd):
> >     set_mode(MDI)
> >     issue_mdi(cmd)
> >     set_mode(MANUAL)
> >
> > while(True):
> >     if not mode_manual and is_idle:
> >          set_mode(MANUAL)
> >
> > So basically the UI ensures that LCNC is not in MDI mode unless it
> > it actively issuing an MDI command, which
> > essentially is the same thing as not having an MDI mode at all (from
> > the users perspective). So what if instead
> > of making each UI have to handle switching back to manual mode this
> > is done elsewhere. For example `command.mdi()`
> > could switch LCNC to mdi mode, issues the command, and then switched
> > back to manual.
> >
> > It seems like something like this would make life simpler for the
> > UIs ...
> >
> > Cheers,
> > Kurt
> >
> >
> > On Mon, Dec 4, 2017 at 11:43 AM, Kurt Jacobson
> > <[email protected]>
> >
> > wrote:
> > > On Mon, Dec 4, 2017 at 10:54 AM, Rene Hopf <[email protected]> 
wrote:
> > >> > On 4. Dec 2017, at 16:14, Les Newell
> > >> > <[email protected]>
> >
> > wrote:
> > >> > This is master as of a couple of months ago. I'd rather not
> > >> > install
> >
> > the
> >
> > >> patch because I want it to switch back to manual after MDI.
> > >>
> > >> the patch should still allow you to do that. thats why I asked
> > >> you to test.
> > >
> > > I am afraid not. Dewey's branch does not switch back to manual
> > > after an MDI, at least in my tests.
> >
> > ------------------------------------------------------------
> > ------------------
> > Check out the vibrant tech community on one of the world's most
> > engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> > _______________________________________________
> > Emc-developers mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/emc-developers
>
> ----------------------------------------------------------------------
>-------- Check out the vibrant tech community on one of the world's
> most engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Emc-developers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/emc-developers


Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Genes Web page <http://geneslinuxbox.net:6309/gene>

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to