Showing results for 
Search instead for 
Did you mean: 


Wonder if anyone can offer some guidance.


I am using Labview 8.0 with a PCI-6602. I need to do a continuous time measurement on a signal between each rising edge and the next falling edge. Which pins do I need to use to do this?


I also want to do a continuous pulse count on the same signal using the falling edge. How do I configure this?


Is it then possible to measure/compare the time between each subsequent rising edge and the next falling edge?


Many thanks


0 Kudos
Message 1 of 2

Hi Conor,


In order to communicate with the PCI 6602 you will use the NI DAQmx drivers. Here is a link that helps you to start using these VIs:
If you click on Basic Programming with NI-DAQmx it will give you an idea of where to start from.


From your description it sounds like you want to do semi period measurement. For this type of measurement you will need to wire your signal into the Gate input of a counter or a PFI line that is connected to the Gate input. Here is a link to the datasheet of this card:


If you want to do edge counting you will need to wire your signal into the source input of a counter. You can then choose whether you want to count the rising or falling edge.


Here are a few examples to get you started:


There are many more good examples online and also in the Example Finder.  


Hope this helps.

Mahdieh G
Applications Engineer
National Instruments UK&Ireland
0 Kudos
Message 2 of 2