LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

using counter module in CDAQ chassis

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.

 

 

0 Kudos
Message 1 of 2
(2,124 Views)

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.

0 Kudos
Message 2 of 2
(2,093 Views)