I could confirm it works perfect, it was a really simple fix.
Then I look at code to add a widget does not seem to hard.
> I pushed a fix for hal_dial to 2.7 - not sure what you are using.
>
> eventually it will cycle thru to master (and later releases)
>
>
>
> The fix is simple (two lines) if you wish to just add it for now.
>
>
> in gladevcp/hal_dial.py
>
>
>
> # handle the scroll wheel of the mouse
> def _scroll(self, widget, event):
> if event.direction == gtk.gdk.SCROLL_UP:
> self._count += 1
> self._minute_offset +=1
> self._delta_scaled += self.scale #<<<<<<<<<< this one
> if event.direction == gtk.gdk.SCROLL_DOWN:
> self._count -= 1
> self._minute_offset -=1
> self._delta_scaled -= self.scale #<<<<<<<<<<< and this one
> self._last_offset = self._minute_offset
> self.redraw_canvas()
> self.emit("count_changed", self._count,self.scale,self._delta_scaled)
>
> I tested on my machine it seemed to work fine after that.
> Chris M
> ________________________________
> From: Chris Morley <[email protected]>
> Sent: January 10, 2017 9:51 PM
> To: EMC
> Subject: Re: [Emc-users] EDM machining, user interface, increments
>
>
> That sounds like a bug...wheel or mouse should move it the same.
>
> ----- Reply message -----
> From: "Nicklas Karlsson" <[email protected]>
> To: "Enhanced Machine Controller (EMC)" <[email protected]>
> Subject: [Emc-users] EDM machining, user interface, increments
> Date: Tue, Jan 10, 2017 1:35 PM
>
>
>
> In sort of the delta scale is a little bit slippery. It slip while using the
> mouse wheel and only graphics is moving but no update of value. Then left
> mouse button is held down and dial is moved by moving mouse pointer both
> graphics and value is updated.
>
>
> On Tue, 10 Jan 2017 20:45:24 +0000
> Chris Morley <[email protected]> wrote:
>
> >
> > Hal dial has a pin called delta scale I think. Then changing the scale (by
> > clicking) only changes the scale of future dial moments, which is what I
> > think you want.
> > Chris M
> >
> > ----- Reply message -----
> > From: "Nicklas Karlsson" <[email protected]>
> > To: "Enhanced Machine Controller (EMC)" <[email protected]>
> > Subject: [Emc-users] EDM machining, user interface, increments
> > Date: Tue, Jan 10, 2017 12:34 PM
> >
> >
> >
> > I discovered the limitations of the hal inputs, what is needed is:
> > min
> > max
> > scale
> > increment value
> > increment value change from GUI
> > A choice to between actual or scaled value
> >
> > None of the do it all.The hal dial may change the scale but what is really
> > needed is possibility to change increment value for fine tuning.
> >
> > Despite these small limitations I still think glade user interface designer
> > is really good. Since source code is available it is also possible change,
> > if anybody could give me a hint maybe I could look into it but I better
> > start with the unfinished g-code database, I think where will be few hours
> > for it this weekend.
> >
> >
> >
> > On Tue, 20 Dec 2016 12:04:05 +0000
> > Sarah Armstrong <[email protected]> wrote:
> >
> > > Niā£cklas,
> > > Could you give me details etc, and I can get up to date, and join the
> > > discussion
> > >
> > > Sarah
> > >
> > > Sent from BlueMail
> > >
> > > On 19 Dec 2016, 20:16, at 20:16, Nicklas Karlsson
> > > <[email protected]> wrote:
> > > >Finally I have all the necessary hardware parts, some are still on
> > > >desktop not connected to machine but they are tested to work: servo
> > > >drives, digital IO, spark generator.
> > > >
> > > >Right now I start to think about user interface and as I remember
> > > >someone started work on this earlier.
> > > >
> > > >
> > > >If anyone is interested I could share hardware drawings or others. I
> > > >also changed a few rows in drivers so that positions are sent instead
> > > >of speed and put control loop local.
> > > >
> > > >
> > > >
> > > >Regards Nicklas Karlsson
> > > >
> > > >------------------------------------------------------------------------------
> > > >Developer Access Program for Intel Xeon Phi Processors
> > > >Access to Intel Xeon Phi processor-based developer platforms.
> > > >With one year of Intel Parallel Studio XE.
> > > >Training and support from Colfax.
> > > >Order your platform today.http://sdm.link/intel
> > > >_______________________________________________
> > > >Emc-users mailing list
> > > >[email protected]
> > > >https://lists.sourceforge.net/lists/listinfo/emc-users
> > > ------------------------------------------------------------------------------
> > > Developer Access Program for Intel Xeon Phi Processors
> > > Access to Intel Xeon Phi processor-based developer platforms.
> > > With one year of Intel Parallel Studio XE.
> > > Training and support from Colfax.
> > > Order your platform today.http://sdm.link/intel
> > > _______________________________________________
> > > Emc-users mailing list
> > > [email protected]
> > > https://lists.sourceforge.net/lists/listinfo/emc-users
> >
> > ------------------------------------------------------------------------------
> > Developer Access Program for Intel Xeon Phi Processors
> > Access to Intel Xeon Phi processor-based developer platforms.
> > With one year of Intel Parallel Studio XE.
> > Training and support from Colfax.
> > Order your platform today. http://sdm.link/xeonphi
> > _______________________________________________
> > Emc-users mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/emc-users
> > ------------------------------------------------------------------------------
> > Developer Access Program for Intel Xeon Phi Processors
> > Access to Intel Xeon Phi processor-based developer platforms.
> > With one year of Intel Parallel Studio XE.
> > Training and support from Colfax.
> > Order your platform today. http://sdm.link/xeonphi
> > _______________________________________________
> > Emc-users mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/emc-users
>
> ------------------------------------------------------------------------------
> Developer Access Program for Intel Xeon Phi Processors
> Access to Intel Xeon Phi processor-based developer platforms.
> With one year of Intel Parallel Studio XE.
> Training and support from Colfax.
> Order your platform today. http://sdm.link/xeonphi
> _______________________________________________
> Emc-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/emc-users
> ------------------------------------------------------------------------------
> Developer Access Program for Intel Xeon Phi Processors
> Access to Intel Xeon Phi processor-based developer platforms.
> With one year of Intel Parallel Studio XE.
> Training and support from Colfax.
> Order your platform today. http://sdm.link/xeonphi
> _______________________________________________
> Emc-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/emc-users
> ------------------------------------------------------------------------------
> Developer Access Program for Intel Xeon Phi Processors
> Access to Intel Xeon Phi processor-based developer platforms.
> With one year of Intel Parallel Studio XE.
> Training and support from Colfax.
> Order your platform today. http://sdm.link/xeonphi
> _______________________________________________
> Emc-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/emc-users
------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today. http://sdm.link/xeonphi
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users