Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

CTR mode config.vi

Dear sir,

    If we would like to use the counter, AM9513 counter chip, to measure the frequency continuously every 1 ms,
what can I do? Perhaps I should use those advanced counter VIs, like CTR Buffer Config.vi, CTR Buffer Read.vi,
CTR Group Config.vi, CTR Mode Config.vi, and CTR Control.vi, etc.

    Do you have the example code for the above application?

    Thank you very much for your precious answers. Have a nice day!
Regards,
Shu-chen
0 Kudos
Message 1 of 2
(2,752 Views)
Shu-chen,

Unfortunately, the AM9513 does not have the ability to latch the count value with some external signal. The only way to continuously measure frequency is in a software-timed loop. If you are measuring a lower frequency, I would recommend using a single counter, such as in this period measurement example. For a higher frequency signal, you want to use 2 counters, such as in this frequency measurement example.

Hope this helps,
Ryan Verret
Product Marketing Engineer
Signal Generators
National Instruments
0 Kudos
Message 2 of 2
(2,740 Views)