Counter/Timer

cancel
Showing results for 
Search instead for 
Did you mean: 

How to count the number of pulses with different frequency in a fixed time interval?

Hi there,

I developed an application to count the number of a sequence of TTL pulses with different frequency at a fixed time interval. I used the PCI-6602 counter/timer device to do that. The diagram of the application is shown in the figure of the attached PPT file. My problem is that when there is not any pulse in the fixed time interval, I can not get the number of pulses to be ZERO. For the case shown in the figure, I can not get the BUFFER content of [4 2 1 0 3]. The BUFFER content is [4 2 1 3]. Would you tell me how to get the BUFFER content to be [4 2 1 0 3]?

I really appreciate you for any comment.

Kylin
0 Kudos
Message 1 of 2
(3,104 Views)
Kylin,

It appears that you need to enable synchronous counting. The KnowledgeBase I have linked below discusses this topic:

Common Questions Regarding the Synchronous Counting Mode for NI-TIO Based Devices (NI 660x, 455x, et...

Good luck with your application.

Spencer S.
0 Kudos
Message 2 of 2
(3,104 Views)