LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

"how I can calculte the time between two edges of square wave

I am using PCI-6052 Ni data acquisition card. I want to calculate the duty cycles of 6 analog square waves of 25Hz at 6 different channels of ni daq card simultaneously in real time acquisition. The input signals are of different duty cycles. I have the time period of these sqaure waves and after calculating the on time of the pulse, I will be able to calculate duty cycles in this way. Please help me calculating the Pulse on time through timing function.
Hello Brian! Please if you can code this problem, I will be very thankful to you. post this answer to my e-mail: s_saqib_2000@yahoo.com
0 Kudos
Message 1 of 2
(2,528 Views)
You can use the
Analyze/Signal Processing/Time Domain/Pulse Parameters.vi
This vi returns the duration of periodic signals like yours.

Oleg Chutko.
0 Kudos
Message 2 of 2
(2,528 Views)