Re: handwheels was Linux USB
On Wed, 22 Aug 2001, William wrote:
> Ray and Paul
> I combined both of your messages here
>
> As far as me doing anything in C or C++ I don't think I would
> be much help as it would take me a few hours to come up with
> a "hello world" program but I have been looking at the TkEmc
> code and could probably figure that out given some time.
>
> The Kluga/Mauch card has it's own counter in it so tell me
> if this sounds reasonable. Every X milliseconds poll the
> card and see if there is a value other than zero. If yes, then
> convert the amount of pusles to required distance (depending
> on your ini parameters), output that distance to the motion
> module(?) and reset the dro card to zero. As you say, real time
> is not really required for a handwheel, and some missed steps
> would not really matter much.
>
> If you think that is reasonable, I'll do some reading on TclTk and
> give it a try.
William
IMHO - if you start smdromod.o as the motion module, the realtime processes
will prevent you from doing much with the card other than what is already
done. So if you are using three of the encoder inputs for feedback on
three axes, we would need to take the handwheel movements from the
realtime rather than from something like iosh.
If not, and you started an EMC using an ordinary steppermod or freqmod, I
would think that it would be rather easy to use iosh and Tcl/Tk to gather
handwheel information, apply a multiplier and a target axis and move it to
the handwheel.
I'd be happy to help any way that I can.
Ray
Date Index |
Thread Index |
Back to archive index |
Back to Mailing List Page
Problems or questions? Contact