LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

DC motor control using NI 9401 and DC motor driver

I am using cRIO 9073 ,NI 9401,DC motor and motor Driver, I have attached my VI , i am acquiring two signals which i represented with 1 and 2 in my attached block and caluclating their amplitudes and comparing them individually with a set threshold. 1)when signal 1 condition is true DI0 and DI1 should be true and false respectively so that motor rotates clockwise if the condition is false no movement that is DIo and DI1 should be 0 and 0 2)coming to signal 2 when its condition is true DI0 and DI1 should be false and true so that motor rotates anticlock wise direction if the condition is false no motor movement i.e DI0 and DI1 should be 0 and 0 Plese give me some solution i made two case structures for the two different signals but my motor is rotating only in one direction and it is just vibrating. Attachments:
0 Kudos
Message 1 of 2
(2,120 Views)

Double post: Relevant thread here.

0 Kudos
Message 2 of 2
(2,102 Views)