The application I have in mind is to count TTL pulses for short periods (~500 us) at a rate of ~2 kHz to use in an FFT. I haven't been able to find a way to code something like this... I've tried using DAQ assistant with edging counting for N samples. I also have a program that opens a to port to one of the counters on the card and counts for a specified time, but this is inside a for-loop and I don't have control over the frequency of the sampling. How can I make such a program?
↧