06-26-2014 01:20 AM - edited 06-26-2014 01:21 AM
I'm currently using the high speed counter on the a USB 6525 module to measure the frequency of a spinning object via a hall effect sensor.
I was wondering if there was a simpler/ more effective way of coding it than this?
Currently all I do is take the current counter reading, wait a second, take another reading and subtract one from the other. The result is the frequency, in hertz.
Is there a way of getting the 6525 to return the count/ change in count after 1 second?
Thanks
Solved! Go to Solution.
06-26-2014 07:31 AM
The counter can measure the frequency directly. Just create a counter frequency task.
06-27-2014 01:09 AM - edited 06-27-2014 01:10 AM
Thanks for commenting. I'm not sure if I'm doing it right though or whether the NI USB 6525 can't handle this type of measurement?
I keep on getting an error that says to effect it can't do this type of operation.
Can you advise?
Thanks
06-28-2014 07:44 PM
06-30-2014 02:11 AM
That's what I suspected after trying, thanks for confirming.