10-11-2007 10:23 PM
10-12-2007 06:52 AM
I don't have that specific board, but I don't think the counters are limited to 4-bit divisors of the internal timebases. I've used much bigger divisors on other M-series boards. Try one of the shipping examples for counter output -- I expect you'll be able to produce a 400 kHz pulse train just fine.
-Kevin P.
10-12-2007 08:16 AM
Thanks for the reply. Please let me know how you were able to use more than 4 bits for dividing the base frequencies. I've tried generating a pulse train from test panel of measurement & automation as well as the ni shipped example. being limited to 4 bits, the frequency skips between 100kHz and 625kHz. I see the same specification for the more expensive M series card on page 10 of the following:
http://www.ni.com/pdf/manuals/371292e.pdf
Please let me know if there is a way to have this card generate a 400kHz pulse train.
Thanks,
Sam
10-12-2007 08:37 AM
10-15-2007 03:10 PM
Many thanks for the advice. It seems like the counter line is capable of outputting 400Khz but not the freq. out line. Since I needed the signal on PFI 14, I had to make a small addition to the ni shipped example to route the signal to PFI 14 while generating the desired frequency on one of the counter lines, which would be out of commission for the duration of this pulse train generation.