From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

DIO NI 9381 to drive a third party stepper motor

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?

0 Kudos
Message 1 of 1
(2,107 Views)