I am using a NI USB 6008 to control a 2 pole stepper motor. The driver I have is controlled via 4 digital outputs from the DAQ (ie: Step 1 AB, Step 2 BA*, Step 3 A*B*, etc).
What I've done is out all 4 outputs for each step into a its own frame in a Timed loop (So in the 1st frame, aka step 1, 5V on A and B and 0V on A* and B* and so forth for all 4 steps), using the period of the Timed loop I can then control the speed at which the motor will turn & using the iterations, how far it will turn.
My problem comes in that the Timed loop does nothing, when I run the VI nothing happens and when I check the number of iterations the loop has run though, the probe says 'not executed'. My knowledge of Labview comes mostly from my own messing around, so I'm sure its something simple I don't know, but I've looked through the examples in Labview and cant find anything that would change mine.
My VI is attached below
If anyone has any suggestions as to what could be causing this problem or a better way as to control the motor using the 4 digital outputs, just shout (Or if you need for info as to what/why/how I'm doing it).
Thanks
Motor Control.vi