I have created a program using inpout32.dll to run my stepper motor .
I can run stepper motor now but the problem is its running very slow! is there any better way i can run my motor fast as i want.
i used following method.
............................................................................
......................................................................Code:option explicit on Dim myTime as object public sub Form1 mytime=2000 out(888,3) do untill mytime=0 mytime=mytime-1 loop mytime=2000 out(888,1) do untill mytime=0 mytime=mytime-1 loop end sub
if i set the value of mytime less then 2000 my motor does'nt work at all.
so please help me
i tried also with the timer tool and i wrote the code in the tick event of timer but it is also very slow.
please help me how i can gain my motor speed.




Reply With Quote