FieldPoint Family

cancel
Showing results for 
Search instead for 
Did you mean: 

Counting with cFP-CTR 502

I have a number of tasks where I count events and frequencies with the cFP-CTR 502.  Turbine flowmeters and optical RPM sensors are the instruments I use most often.  I am a new programmer learning on my own.  I have been successful counting TTL pulses but would like to get a good period reading of the TTL.  I have read and seen the sample code that uses the internal clocks for this.
 
In experimenting with the internal counters (32Khz and 1 Khz) I notice that I read both counters 4 - 6% lower than their stated frequency.
 
Is that typical error?  Does anyone have any tips on achieveing this with a high degree of confidence?  I have looked at the one sample FP period measure VI but have had little luck making that work for me.  Any advice would be appreciated. 
0 Kudos
Message 1 of 2
(6,130 Views)
Hello,

In reality, it is possible to see such errors. In the picture below, a clock signal (source) is being used to measure the period of the gate signal. 
If any of the rising edges of the source line up with the rising edges of the gate, then it is possible that the count will be slightly inaccurate and be a source of error for the result. 



The magnitude of this error would depend on the frequency of your signal.  What is it?
Also this possible max error will vary based on your source signal.

Period Measurement with a Counter





Kameralina

0 Kudos
Message 2 of 2
(6,113 Views)