04-04-2014 06:18 AM
Hello Friends,
I am new to Labview. And now I am working on a project where I have to measure the pulse width.
I have attached a pulse waveform and would like to measure the pulse width of the first rising the falling edge and log it , rest of the signal I am not interesed in.
I will have this signal 6 times on my digital/analog input.
Can someone help me with the pulse width measurements.
Thank you.
Kind Regards,
04-04-2014 06:22 AM
Hi sky,
what kind of hardware do you use? Does it support more than simple counter tasks?
Simple method:
- Acquire the signal with sufficient sample rate.
- Look for rising/falling edges in the signal.
- Get the distance between edges in number of samples.
- Multiply number of samples with sample rate…
04-04-2014 06:25 AM
Hi GerdW,
I use Data Acquistion Device (USB-6353).
Kind Regards,
04-04-2014 06:28 AM
As written in the specs this device supports pulse-width measurements…
04-04-2014 06:34 AM
HI GerdW,
Can you help me in the VI, I am working on.
1) I get the pulse width of only 1st rising and falling edge
2) Able to log the information on pulse width of this 1 edge.
3) Get sigal from digital/analog inputs X 6 times, not the vi generated signal.
Thanks
kind Regards,
04-04-2014 07:42 AM
Hi GerdW,
Any Comments ?
Thanks
Kind Regards,
04-04-2014 07:49 AM - edited 04-04-2014 07:50 AM
04-04-2014 08:03 AM
hi GerdW,
I am sorry for that. Will keep in mind next time.
But still in this case
1) I cant get the signal from outside to my hardware inputs. (on 6 different inputs) I want to measure the signal width which are coming from outside to my hardware input pins X 6.
2) I cant Log the pulse width.
KInd Regards,
Sorry again.
Thanks
04-04-2014 08:51 AM
04-04-2014 09:01 AM - edited 04-04-2014 09:07 AM
I get this pulse ( as in picture attached), I want to get it on analog or digital pins in such a way in get the pulse width of only 1st edge.
And this 1st edge lenght is different then the rest that follows. I would like to have the pulse width for only the 1st edge and log the width.
And similarly this signal will come from 5 more different sources. So each signal is different.
For now i connected it to AI0 and I can see the signal.
1) next step measure only the first edge.
2) 6X input channel
2) log it.