Hello,
I am using a third party 1.26Nm stepper motor with 4.5A Stepper motor drive(SMD). I have interfaced the Stepper motor and SMD with cRIO 9064 and using a DIO NI 9381 to send the pulse signals.
Currently, I am using the code attached below. The code gives 1.8deg/step step size by default. Can anyone suggest me a way to modify the code so that I can vary the speed and step size of the stepper motor?