Quoth Chris Radek <[email protected]>
>halui knows and does all these things.  For instance in this case
>you would use halui.mode.is-mdi, and in place of your previous
>patch, you'd use the halui.mode.mdi pin.

and

Quoth Micha? Geszkiewicz <[email protected]>
>You can get current mode from halui:
>halui.mode.is_manual
>halui.mode.is_mdi

and

Quoth andy pugh <[email protected]>
>I think that, possibly, halui should be the only HAL pin way to change
>mode, and Axis needs to keep track better.
>I am concerned about what happens if the halui and axis pins disagree
>about the desired machine state.

You chaps obviously know the ins and outs of the big picture and I bow
to your greater knowledge but...  as it stands there some points I'd
like to make in support of this (combined) patch.

1. set-manual-mode already exists in 2.5.3 and it's a bit bonkers that
there's no complimentary set-mdi-mode (but nobodys commented about that
anyway so I assume it's non-contentious).

2. Using the UI (axis) to flip modes makes more sense to me than using
halui to detect and axis to flip mode *unless* axis tracks halui and
changes it's display tabs to match (which it doesn't appear to do).  If
something 'underneath' axis flips the mode but the axis display doesn't
reflect the change it's going to be very confusing for someone stood in
front of the screen/machine who reasonably expects the display to
errr...  display the current state of things.

3. By providing an axis means of detecting and flipping modes you avoid
Andy's fear of axis and halui getting out of sync (for an axis user).

4. AFAICS (using HAL Config-Watch) in 2.5.3 halui.mode.is-mdi and
is-manual *DON'T* track the current state of the axis tabs.  When
powered up, both pins are false and then on power up,
halui.mode.is_manual goes and stays true no matter how many times you
flip the axis tabs.  This is the killer which makes the halui pins
unusable as a means to control axis tabs; hence the need for
axisui.mode.mdi & .manual.


Your witness M'lud :-)


-- 
 Regards,
     Russell
 --------------------------------------------------------------------
| Russell Brown          | MAIL: [email protected] PHONE: 01780 471800 |
| Lady Lodge Systems     | WWW Work: http://www.lls.com              |
| Peterborough, England  | WWW Play: http://www.ruffle.me.uk         |
 --------------------------------------------------------------------

------------------------------------------------------------------------------
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

Reply via email to