LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Waveform Extraction

Hii,

 

I am having a continous sine or square wave in a waveform in that i want to analysis each cylce of that waveform. Now i want to extract each cycle programatically how to do it.. can any 1 suggest me an idea...

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

If the signal to noise ratio is good, look for positive-going zero crossings to define the beginning of each cycle.

 

If the signal to noise ratio is poor, it is much more difficult unless you have other information about the timing of the signal.

 

Lynn 

0 Kudos
Message 2 of 3
(2,564 Views)

You can use Fourier techniques (e.g. Extract Single Tone Information) to find the frequency and phase, provided the waveform has a consistent period.  With this information, you can then use Get Waveform Subset to extract the portion you want and analyze it.  If noise is an issue, you can get a small subset around your level crossings and use that with a fitting routine to polish the start and end points.  The fitting routine will depend on what your waveform is, how much data you have, and how much noise you have.

0 Kudos
Message 3 of 3
(2,559 Views)