Quantcast
Channel: Counter/Timer topics
Viewing all articles
Browse latest Browse all 1271

Sampling Frequency for Frequency Counter

$
0
0

Hi,

 

I'm using a NI9401 card on  cDAQ-9174 chasis, and I'm trying to use a frequency counter to measure an oscillating frequency (100Hz to 100kHz). My understanding is that when setting a frequency counter one should use the implicit timebase for the counter and let DAQ-mx decides on what timebase to use. But I have a couple of questions (it's my first time trying to use a counter):

 

1) Can I specify at what rate to sample the frequency counter? I want to read the counter at 10kHz, so I tried setting a timed loop and the fasted it can go is 1Hz. Is there a better way to do this? Maybe using a buffer and reading into the buffer at 10kHz? But how would I set up that second task?

 

2) Is it possible to know what timebase DAQ-mx is using for the frequency counter?

 

I'm attaching the task I created and VI for the timed loop. Thanks for the help.

 

Luis


Viewing all articles
Browse latest Browse all 1271

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>