Attached is an image of my setup. I have two DC motors wired to a driver board which is attached to a NI myRio with a ribbon cable. The myRio and the driver board are both getting power from a wall outlet.
I have been looking at my professor's setup, but I don't quite understand it myself. Attached is my professor's VI for motor control using an encoder, which is of course different from the assignment i must do.
I'm not sure what steps to take next, though.
Okay. I see you have an external power supply for the motors. That's good.
I can't tell what that white box is. Is it just a breakout board for the myRIO? Perhaps it contains relays.
So I'm looking at the differences between your VI and the professor's VI's. I see some definite differences between them. You should take a closer look and try to implement the stuff that you are missing.
I was able to get my motors to turn CW and CCW by correctly labeling some true and false directions. However, I'm just not able to get my elapsed time and my time delays to work. It is running the four loops, just without stopping and pausing.
Th whtie box is my driver board (what myprofessor called it, i'm not quite sure what it really should be called).
Post your latest VI.
Looking at your first VI, I don't see where you are stopping the motor. And I don't think you understand the difference between Time Delay express VI and the Elapsed Time VI. (Look at context help on them.)
Okay. Thanks for attaching the updated file.
Now go back and read my previous message.
Where do you actually stop the motor?