Re: [Emc-users] deboucing inputs

2009-05-19 Thread Chris Radek
On Tue, May 19, 2009 at 11:08:41AM -0600, Len Shelton wrote: > I want to put a home all button on my gamepad. I edited your question because you were on the wrong track (in the motion controller instead of in halui) Currently halui doesn't know how to send the "home all" message. You would need

Re: [Emc-users] deboucing inputs

2009-05-19 Thread Len Shelton
achine Controller EEMC" Subject: Re: [Emc-users] deboucing inputs Just in case you missed this in the manual. http://www.linuxcnc.org/docview/html//hal_basic_hal.html John On 18 May 2009 at 22:08, Len Shelton wrote: > Thanks, Jeff. It was 'addf', or my lack of it. I should have kn

Re: [Emc-users] deboucing inputs

2009-05-19 Thread John Thornton
> > -Original Message- > From: Jeff Epler [mailto:jep...@unpythonic.net] > Sent: Monday, May 18, 2009 8:38 PM > To: Enhanced Machine Controller (EMC) > Subject: Re: [Emc-users] deboucing inputs > > most likely cause: failure to 'addf' the function ex

Re: [Emc-users] deboucing inputs

2009-05-18 Thread Len Shelton
limit switches installed and configured this evening. Thanks, >Len -Original Message- From: Jeff Epler [mailto:jep...@unpythonic.net] Sent: Monday, May 18, 2009 8:38 PM To: Enhanced Machine Controller (EMC) Subject: Re: [Emc-users] deboucing inputs most likely cause: failure to &

Re: [Emc-users] deboucing inputs

2009-05-18 Thread Jeff Epler
most likely cause: failure to 'addf' the function exported by debounce. here's a standalone hal file that demonstrates debounce (run it with 'halcmd -I debouncedemo.hal' and use halscope to view the signals) http://emergent.unpy.net/index.cgi-files/sandbox/debouncedemo.hal and a screenshot of

[Emc-users] deboucing inputs

2009-05-18 Thread Len Shelton
I am trying to use the debounce filter for some limit switches that I believe may have some noise on them. >From what I can tell, the debounce filter needs to be continuously "reloaded" because if it either reaches zero or reaches N, then it ignores further input. Am I missing something here?