From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Stepper Motor VI

Hello I found this VI in the NI website to control stepper motor---here is the link

 

https://decibel.ni.com/content/docs/DOC-6385

 

Now here is the question--- Iam using a unipolar stepper motor---the way my system is set up is that I have an NI ELVIS II board and I am using a built-in DAQ of my NI ELVIS II to run the stepper. The output pins of my DAQ board are connected to the Darlington Array(Current Amplifier) and the output of the darlington to my stepper motor.   I need to know what can I do to modify the above VI so that I can run the unipolar motor connected to the NI-ELVIS DAQ board.

 

Thanks

 

 

0 Kudos
Message 1 of 6
(10,522 Views)

SK0480:

You will need to change the Stepper Output Line and Direction Control Line to be the ports/lines you are using.
These examples can be suited to your devices by changing the input to the "lines" terminal of the DAQ task to
correspond with your device. If you want a different type of functionality, you will need to change other parts
of the code.


Tori W.

National Instruments
0 Kudos
Message 2 of 6
(10,486 Views)

Same issue as here... ... ???

0 Kudos
Message 3 of 6
(10,479 Views)

Ok well here is a problem,,, this code is very confusing....

 

The motor I have has four coils

 

the sequence of code that I need to output is this:

1010

1001

 0101

 0110

 1010

 

The functionality that I want to add is that I want to create a user interface, to select the number of steps the motor needs to rotate..

can you please tell me how would this be accomplished

 

0 Kudos
Message 4 of 6
(10,474 Views)

Hey man, 

 

Check out your original thread, in general things go faster if you keep everything on one thread. I will post the answer to this question there. 

Jesse Dennis
Engineer
INTP
0 Kudos
Message 5 of 6
(10,458 Views)

i m an engg student,,i want info about to control steppr motor through ni mydaq ? plz giv me ur valuable gaidance,,,,my email :amit7108@gmail.com

0 Kudos
Message 6 of 6
(10,045 Views)