07-10-2007 07:44 AM
07-11-2007 09:14 AM
Hello Jaclyn,
Here is a great tutorial on how counters work. Are you creating just two pulses? Is there a specific time interval that you are trying to achieve? The easiest way to create just two pulses is to use two digital lines. However, if there is some timing issue in between each pulse, you would want to use the counters.
If you are creating two pulses with the counters, then you would want to use PFI 4 (Pin 6) & PFI 5 (Pin 7). These PFI lines are for the counter out terminals. The source and gate terminals should be internally routed, so you shouldn’t have to worry about connecting any thing to them. The counter out terminal is the terminal that will give you the digital pulses that you desire.
08-01-2013 01:36 AM
Hi Rob..
Just curious..
Did you mean to control a DC motor via PWM through the counter output, one simply connect PFI4 and DGND to the +V and GND of a DC motor?
I am also having some trouble getting this right. Please help.
I am using USB 6211 as well. Codings are attached.
08-01-2013 03:08 PM
That should work but the problem you may run into is the current needed to energize the coils. The output lines may not source enough current to the motor to make it turn. To eliminate this you may want to use a relay or something similar to supply the current from another source and only use the output to trigger the relay. But theoretically you could connect the output to the motor and it would work (if it could source enough current).
Also it is recommended when replying to an old forum post to instead create a new post with a link to the old. This enables better tracking and support for that post. Have a good day.