I'm Student. I found some example about PID. Reset Counter and make a PWM on Internet, I don't remember those Links. Now I Use them to control motion of DC motor. I use USB - 6008 of my teacher (I borrowed). When I select time to reset counter 20ms but elapse higher 20ms. The purpose of my project only to study, sorry when I changed those Program. Would you please explain for me and help me solve this project . Thank you.
This my VI and Picture my test.
I'm sorry that I need to disappoint you, but your approach doesn't sound very promising. Low cost USB DAQ devices are the worst choice for closed loop control systems due to the lack of hardware timing for the digital outputs or a counter output. With this approach you will run into multiple problems:
Thanks you, Jochen!
Your explain very useful for me. You can't imagine it help me so much.
One again, Thanks you so much.