On Oct 23, 2008, at 9:48 AM, John Kasunich wrote: > Kirk Wallace wrote: >> On Thu, 2008-10-23 at 07:45 -0700, Dave Engvall wrote: >> ... snip >>> Thanks for the confirmation although that wasn't the news I wanted. >>> I would like to be able to emulate the X function in lstg which >>> outputs the number of encoder counts between >>> index pulses. >>> >>> Dave >> ... snip >> >> Just a shot in the dark, but what about connecting your encoder's >> index >> wire to both the STG and a generic digital input? You may need to >> create >> a component to take it from there. I don't know anything about >> lstg, so >> this may be a bad suggestion. >> >> Kirk >> > > Keep in mind that one reason people use cards like the STG is that > their > combination of speed and encoder resolution gives encoder pulses that > are too short to be reliably sampled by software. If you bring an > index > pulse into the PC and sample it with software, you might miss the > pulse > unless you limit the speed. > > That is one reason for the HOME_LATCH_VEL setting in the ini file. > You > can do most of your homing move at a high speed, then after you hit > the > switch drop to a crawl for the final half-revolution or so to make > sure > you don't miss the index. > > Regards, Thanks John, I guess I'll just muddle through. I suppose I could just plug Y into channel 3 or 4 and take advantage of the power of hal to reroute the input. :-)
Dave > > John Kasunich > > ---------------------------------------------------------------------- > --- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win > great prizes > Grand prize is a trip for two to an Open Source event anywhere in > the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Emc-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/emc-users ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Emc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/emc-users
