Counter/Timer

cancel
Showing results for 
Search instead for 
Did you mean: 

Count Events using a trigger

Problem Description :
I presently have a DAQ-STC board for data Acquisition purposes.
What I wish to do is:

1. Count number of TTL pulses coming say from a signal generator at 2MHz
frequency.
2. I want to gate this with 1K pulses such that I want the count of the source TTL pulses between 2 gating edges and reset the count at the 2nd edge after the
send the count out
3. I want to buffer this count to the computer.



Please address these topics and give me an example of the code i will have to write if possible.
Many Thanks!
0 Kudos
Message 1 of 3
(3,273 Views)
Hi,

The application that you describe is commonly referred to as buffered period measurement. Programming examples featuring this functionality are shipped with NI-DAQ for each development example. For example, in LabVIEW, you can find the example by browsing to: Help>>Search Example>>I/O Interfaces>>Data Acquisition>>Counters. For LabWindows/CVI, these examples can be found by browsing to the cvi/samples/daq/counters folder.

Hope this helps.

Regards,
Erin
0 Kudos
Message 2 of 3
(3,273 Views)

hi erin ,

 is there no predefined counter vi that can do the same function of counting the number of pulses between 2 events ?

0 Kudos
Message 3 of 3
(2,666 Views)