07-16-2013 08:42 AM
I am using a counter on the cDAW chassis to generate a pulse train to drive a stepper motor. It works great.
What I would like to do differently is to be able to stop the pulse train before it has completed its full count. I would like to complement, if you will, the "Is Task complete .vi" with a parallel test of a force measurement. If the force exceeds a given value, I want to stop the stepper motor.
I have attached a .png snapshot of the basic pulse gen circuit that I am using.
07-17-2013 11:27 PM
jhenges
I don't think there's a way to interrupt the generation. Is your pulse train a constant frequency for the duration of the task? If so, we could probably break it up into several iterations of a smaller finite generation, providing a chance to stop the motor with each break.