Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Two-edge separation with a PCI-6052E

Is it possible to perform two-edge separation measurements using a PCI-6052E board?

I would like to measure the time difference between the rising edges of two signals using a PCI-6052E board. I am programming in measurement studio 7.0 for dot net.

thanks,shan
0 Kudos
Message 1 of 2
(2,574 Views)
Shan,

Yes, it is possible to perform two-edge separation measurements with E-Series devices. However, it does require the use of both counters. The leading signal should be used as the start trigger for a continuous pulse train generation on Counter 0. The following signal should be used as the pause trigger for an event counting operation on Counter 1. This event counting operation will be counting the pulses generated by Counter 0. The event counting operation should be started before the continuous pulse train generation. When the pause trigger occurs, Counter 1 will stop incrementing, and the current count will be the separation between the leading and following signals. I would suggest that you use the following NI-DAQmx .NET examples as the founda
tion of your application:

GenDigPulseTrainContinuous_DigStart
CountDigEvents

Good luck with your project.

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