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.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problems Driving my Stepper Motor

Well, you have no clock p0.1 is high all the time so you will get no steps.  Why you are toggling MS1 at 6.25 Hz is beyond my understanding I would typically expect MS1 and MS2 (which set how may steps per clock) to be constant. what you are doing is Toggling between 1/4 step and full step per clock. 

 

Try data Like This

Capture.pngsee attached


"Should be" isn't "Is" -Jay
0 Kudos
Message 11 of 13
(610 Views)

Running my program using your control, doesn't send a clock signal to the motor which is necessary in order for it to move. According to some trial and error, I wasn't toggling MS1, but rather CLOCK. That's just what I've seen based upon the attempts I've had in trying to get this to work. I'm confused as well as to why it seems to be that way.

 

I've only been able to send a clock signal from the driver to the motor by inputting a digital waveform directly to the DAQmx write function

0 Kudos
Message 12 of 13
(604 Views)

Whoops I'm invrse line 0:4 for 4:0

Sorry about that

Capture.png

 


"Should be" isn't "Is" -Jay
0 Kudos
Message 13 of 13
(595 Views)