LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

pulse width of the last pulse

Hi,

 

I am trying to measure the pulse width of a input signal. I can't use the counter. The input signal is coming on analog or digital input channels.

 

The input signal has pulses varying from 3-4, and I am interesed in finding the pulse width of the last pulse. 

 

I tried to use the block Pulse Measurements VI but it does not give me data for the last pulse. Because it needs to compare the mid level of two signal in the same direction, which is not available if i measure the last pulse.

 

Would be nice if someone can help me out..

 

Regards,

0 Kudos
Message 1 of 2
(2,270 Views)

Hi,

What kind of data do you want to analyze? Is it data already available on your PC, or are you measuring? Which hardware? 

 

If you would measure the signal as a wavefrm, you can use Pulse Measurements VI to measure the pulse width. In case there are multiple pulses, you can force it to look at a specific pulse by wiring a number to pulse number. Have a look at the help of that VI: 

 

https://www.ni.com/docs/en-US/bundle/labview-api-ref/page/vi-lib/measure/mascope-llb/pulse-measureme...

 

If the number of pulses is varying, you might want to use this vi in a while loop. 

 

Is this of any help?

 

 

0 Kudos
Message 2 of 2
(2,144 Views)