ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Pulse width calculation

Hello all, 

I am currently working in LabVIEW 2019. I am trying to determine the pulse width or pulse duration of the incoming digital waveform through my cRIO. What are the possible ways to do so?  

0 Kudos
Message 1 of 3
(1,575 Views)

If the input goes from false to true, keep the time in a shift register. If it goes from true to false, subtract previous time from current time. That's the pulse width in samples.

0 Kudos
Message 2 of 3
(1,570 Views)

Which c series card are you using??

You can find examples for pwm measurement in example finder.

 


CLD Using LabVIEW since 2013
0 Kudos
Message 3 of 3
(1,527 Views)