01-21-2016 10:56 AM
Hello I want to measure the Frequency of a signal (0-5V) in a USB 6000.
Since it does not do frequenzy readings I have to write the code by myselfe.
I want to use the digital input and measure the time between two edges.
So far so good. but my calculated frequenzy jitters around the correct mean. I have differences of 33 Herz up and down.
Frequenzy to read 200 Hz. So 5 ms between two phases. Signal TTL (0-5)
Here a codeexample of my while loop.
01-21-2016 11:25 AM
01-21-2016 11:34 AM
01-21-2016 12:04 PM
01-21-2016 01:28 PM