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.