Hello Guest it is March 28, 2024, 03:03:38 PM

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - LeoL

Pages: 1
1
Mach SDK plugin questions and answers. / Re: USB MPG Rotary Encoder
« on: August 26, 2011, 09:19:15 PM »
I was already using the MPG through the LPT port. After my mobo died, it took me over 3 weeks to locate a new one with built-in LPT port and this one doesn't like the LPT2 card I was using for the MPG. That's when I got fed up and decided it was time to eliminate my dependence on the LPT port.

Anyways, I finally realized my mistake, I was trying to compile the SDK samples in VS2008. Once I switched to VS2003, I was able to single step through code and actually see proper values for the variables and figured out what most of them are for.

So I now have the MPG working through USB which is great. Once less LPT card in my system.

2
Mach SDK plugin questions and answers. / USB MPG Rotary Encoder
« on: August 19, 2011, 04:29:01 AM »
I am trying to create a plugin for a custom USB MPG using the ShuttlePro example in the SDK.

Is there any documentation that explains what all those variables are for in the example? Its not clear to me how to tell MACH to simply move a specific number of steps. I don't own a ShuttlePro so I can't single step through the code to see that all the variables do and my attempts to modify the code to work with my encoder have resulted in either continuous jogging or no movement at all. Basically I don't know what I'm supposed to do with some of the variables used in the example.

For starters, what are the following for?

MainPlanner->m_Increment
_setup->Rotation

I hope someone can shed some light on this or point me in the right direction.


Pages: 1