[Emc-users] Numeric entry with touchscreen and Glade

2014-10-27 Thread andy pugh
My milling machine has a a touchscreen, and no keyboard. It works nicely with Touchy for normal milling. I am trying to set up a custom tab for the hobbing setup. I have it working, but entering DP and tooth count is a bit painful. I am currently using spinbuttons, but as far as I can see (and as

Re: [Emc-users] Numeric entry with touchscreen and Glade

2014-10-27 Thread Dewey Garrett
There is a numeric-only popup keyboard used with pyngcgui in some sim configs (example: configs/sim/touchy/ngcgui/pyngcgui_touchy.ini) (based on original work by J. Thornton) Example python code to use: #!/usr/bin/env python import

Re: [Emc-users] Numeric entry with touchscreen and Glade

2014-10-27 Thread Marius Liebenberg
Andy As I have it, the size of the spinbox is fixed but if you have a look at how we did it in the plasma screen of gmoccapy it might help. We used a button for positive increment and one for negative. There is s label above the buttons and that label value is changed by pushing either button.

Re: [Emc-users] building a linuxcnc computer

2014-10-27 Thread Chris Morley
From: bodge...@gmail.com Date: Sun, 26 Oct 2014 13:53:27 + To: emc-users@lists.sourceforge.net Subject: Re: [Emc-users] building a linuxcnc computer On 26 October 2014 01:00, Chris Morley chrisinnana...@hotmail.com wrote: looking for some fairly specific info, I am not up on or

Re: [Emc-users] Numeric entry with touchscreen and Glade

2014-10-27 Thread andy pugh
On 27 October 2014 19:35, Chris Morley chrisinnana...@hotmail.com wrote: The GTK theme controls the basic size of such things. Here is a theme with large sliders that works better with touch screens. Thanks but it looks like I can't avoid coding anyway, so I will look at the popup keyboard

Re: [Emc-users] Numeric entry with touchscreen and Glade

2014-10-27 Thread Chris Morley
From: bodge...@gmail.com Date: Mon, 27 Oct 2014 19:50:32 + To: emc-users@lists.sourceforge.net Subject: Re: [Emc-users] Numeric entry with touchscreen and Glade On 27 October 2014 19:35, Chris Morley chrisinnana...@hotmail.com wrote: The GTK theme controls the basic size of such

Re: [Emc-users] Numeric entry with touchscreen and Glade

2014-10-27 Thread Chris Morley
From: bodge...@gmail.com Date: Mon, 27 Oct 2014 19:50:32 + To: emc-users@lists.sourceforge.net Subject: Re: [Emc-users] Numeric entry with touchscreen and Glade On 27 October 2014 19:35, Chris Morley chrisinnana...@hotmail.com wrote: The GTK theme controls the basic size of such

[Emc-users] Lathe conversion with Mesa 5i25 / 7i76

2014-10-27 Thread pc
I'm back at work on my lathe conversion, reviewing what I have so far, cleaning up documentation, etc. I've run into an issue / question, hopefully I'm just missing something. I have my spindle encoder connected to the Mesa 7i76 TB3 encoder inputs, which seems to be ok (still have to test

Re: [Emc-users] Lathe conversion with Mesa 5i25 / 7i76

2014-10-27 Thread John Kasunich
HAL supports a nearly infinite list of things. Configuration wizards by there very nature can only support a small subset of that. You can certainly load a software encoder counter and use it for the MPG. But if the Mesa card provides enough encoders (one per servo axis, one for the spindle,

Re: [Emc-users] Lathe conversion with Mesa 5i25 / 7i76

2014-10-27 Thread pc
The 7i76 only provides one encoder input since it's a stepper card not a servo card. Can you point me in the direction of some docs on loading a software encoder counter and configuring it for MPG use (one MPG, with axis and step select switches). I'm new to LinuxCNC so it takes me a while to

Re: [Emc-users] Lathe conversion with Mesa 5i25 / 7i76

2014-10-27 Thread Chris Morley
From: p...@wpnet.us To: emc-users@lists.sourceforge.net Date: Mon, 27 Oct 2014 15:16:59 -0500 Subject: [Emc-users] Lathe conversion with Mesa 5i25 / 7i76 I'm back at work on my lathe conversion, reviewing what I have so far, cleaning up documentation, etc. I've run into an issue /

Re: [Emc-users] Lathe conversion with Mesa 5i25 / 7i76

2014-10-27 Thread Peter C. Wallace
On Mon, 27 Oct 2014, p...@wpnet.us wrote: Date: Mon, 27 Oct 2014 15:35:04 -0500 From: p...@wpnet.us Reply-To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net To: emc-users@lists.sourceforge.net Subject: Re: [Emc-users] Lathe conversion with Mesa 5i25 / 7i76 The 7i76

Re: [Emc-users] Lathe conversion with Mesa 5i25 / 7i76

2014-10-27 Thread andy pugh
On 27 October 2014 20:35, p...@wpnet.us wrote: I'm new to LinuxCNC so it takes me a while to find things in the docs (if they're there). It's all here: http://www.linuxcnc.org/docs/html/ But you specifically want: http://www.linuxcnc.org/docs/html/man/man9/encoder.9.html loadrt encoder

Re: [Emc-users] Lathe conversion with Mesa 5i25 / 7i76

2014-10-27 Thread Chris Morley
From: p...@wpnet.us To: emc-users@lists.sourceforge.net Date: Mon, 27 Oct 2014 15:35:04 -0500 Subject: Re: [Emc-users] Lathe conversion with Mesa 5i25 / 7i76 The 7i76 only provides one encoder input since it's a stepper card not a servo card. Can you point me in the direction of some

Re: [Emc-users] Lathe conversion with Mesa 5i25 / 7i76

2014-10-27 Thread andy pugh
On 27 October 2014 20:35, p...@wpnet.us wrote: The 7i76 only provides one encoder input since it's a stepper card not a servo card. Can you point me in the direction of some docs on loading a software encoder counter and configuring it for MPG use (one MPG, with axis and step select

Re: [Emc-users] Lathe conversion with Mesa 5i25 / 7i76

2014-10-27 Thread pc
--Original Mail-- From: Peter C. Wallace p...@mesanet.com To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net Sent: Mon, 27 Oct 2014 13:39:46 -0700 PDT Subject: Re: [Emc-users] Lathe conversion with Mesa 5i25 / 7i76 ... The 7I76 provides one high speed encoder counter

Re: [Emc-users] Lathe conversion with Mesa 5i25 / 7i76

2014-10-27 Thread Peter C. Wallace
On Mon, 27 Oct 2014, andy pugh wrote: Date: Mon, 27 Oct 2014 20:47:39 + From: andy pugh bodge...@gmail.com Reply-To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net Subject: Re: [Emc-users] Lathe

Re: [Emc-users] Lathe conversion with Mesa 5i25 / 7i76

2014-10-27 Thread Peter C. Wallace
On Mon, 27 Oct 2014, p...@wpnet.us wrote: Date: Mon, 27 Oct 2014 15:57:22 -0500 From: p...@wpnet.us Reply-To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net To: emc-users@lists.sourceforge.net Subject: Re: [Emc-users] Lathe conversion with Mesa 5i25 / 7i76

Re: [Emc-users] Lathe conversion with Mesa 5i25 / 7i76

2014-10-27 Thread pc
--Original Mail-- From: Peter C. Wallace p...@mesanet.com To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net Sent: Mon, 27 Oct 2014 14:03:16 -0700 PDT Subject: Re: [Emc-users] Lathe conversion with Mesa 5i25 / 7i76 ... There's a brief mention on page 18 in the mode

Re: [Emc-users] Numeric entry with touchscreen and Glade

2014-10-27 Thread andy pugh
I seem to have found an earlier point to stall at. The application is a GUI for my hobber. I want to be able to enter DP in the DP box, or Mod in the Mod box. If I enter a Mod number I want the DP box to be updated to show the equivalent DP, And vice-versa. Unfortunately this ends up in an

Re: [Emc-users] Numeric entry with touchscreen and Glade

2014-10-27 Thread Chris Morley
From: bodge...@gmail.com Date: Tue, 28 Oct 2014 01:32:19 + To: emc-users@lists.sourceforge.net Subject: Re: [Emc-users] Numeric entry with touchscreen and Glade I seem to have found an earlier point to stall at. The application is a GUI for my hobber. I want to be able to enter DP

Re: [Emc-users] Numeric entry with touchscreen and Glade

2014-10-27 Thread andy pugh
On 28 October 2014 01:58, Chris Morley chrisinnana...@hotmail.com wrote: Probably the easiest is to add a ignore flag to your handlers. Then set the ignore flag, call the handler then unset the flag, ready for the next real entry. Hmm. What I didn't mention is that there are 4 boxes in

Re: [Emc-users] Numeric entry with touchscreen and Glade

2014-10-27 Thread Chris Morley
From: bodge...@gmail.com Date: Tue, 28 Oct 2014 02:06:04 + To: emc-users@lists.sourceforge.net Subject: Re: [Emc-users] Numeric entry with touchscreen and Glade On 28 October 2014 01:58, Chris Morley chrisinnana...@hotmail.com wrote: Probably the easiest is to add a ignore flag to

Re: [Emc-users] Numeric entry with touchscreen and Glade

2014-10-27 Thread Kirk Wallace
On 10/27/2014 06:32 PM, andy pugh wrote: I seem to have found an earlier point to stall at. The application is a GUI for my hobber. I want to be able to enter DP in the DP box, or Mod in the Mod box. If I enter a Mod number I want the DP box to be updated to show the equivalent DP, And

Re: [Emc-users] Numeric entry with touchscreen and Glade

2014-10-27 Thread andy pugh
On 28 October 2014 02:17, Kirk Wallace kwall...@wallacecompany.com wrote: In my UI the DP entry gets processed with the on_dp_entry_activate callback. The Mod gets processed with on_mod_entry_activate. Part of the processing of one entry is to calculate and update the other entry display.

Re: [Emc-users] Numeric entry with touchscreen and Glade

2014-10-27 Thread andy pugh
On 28 October 2014 02:17, Chris Morley chrisinnana...@hotmail.com wrote: The caller sends a reference of the widget. So you can check what called the handler. Does that help me distinguish between programatic changes to the value and User changes? ie it was me, it was you? Thinking about it,

Re: [Emc-users] Numeric entry with touchscreen and Glade

2014-10-27 Thread Chris Morley
From: bodge...@gmail.com Date: Tue, 28 Oct 2014 02:34:42 + To: emc-users@lists.sourceforge.net Subject: Re: [Emc-users] Numeric entry with touchscreen and Glade On 28 October 2014 02:17, Chris Morley chrisinnana...@hotmail.com wrote: The caller sends a reference of the widget. So