LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to analyze two separate parts of a signal

This is what my data looks like.  Its hard to tell but on the bottom part there are peaks.  I want to be able to detect those peaks and find the amplitude when the signal is at the low part, and when it is at the high part run another analysis.  Is there a way to get labview to recognize the two different parts separately?  Or do I have to tell it to perform the analysis for everything and just deal with unnecessary overlap?

0 Kudos
Message 1 of 6
(2,894 Views)

Take a look at the waveform palette.  There are tools there to find transitions, make measurements etc.  I would start with the transition measurement to find the points at which your signal switches high/low and low/high.  Then, you can separate the waveform into chunks that can be correctly analyzed.

 

 

>

"There is a God shaped vacuum in the heart of every man which cannot be filled by any created thing, but only by God, the Creator, made known through Jesus." - Blaise Pascal
0 Kudos
Message 2 of 6
(2,878 Views)

Hi,

 

You can break your signal based on your limit/trigger criteria for lower part and higher part. If your limit is variable you may need to design algorithm for it and break your signal.

 

- HS

0 Kudos
Message 3 of 6
(2,873 Views)

Create a data subset for original points less than 2. Then subtract the mean value of the subset. What is left should be your variations, centered around zero.  Look for your peaks/valleys there.

 

Is your data digitized with sufficient resolution to see what you are looking for?  If you expand the scale on the graph you posted so that the Y-axis shows something like 1.3000 to 1.3001, do you see the bottom peaks?  If not, your resolution may be inadequate and the data may not be there.

 

Lynn

0 Kudos
Message 4 of 6
(2,868 Views)

Yes, the resolution is high enough, it's just the peaks end up being so narrow, its hard to see when overlayed.  Thanks for your help.  

0 Kudos
Message 5 of 6
(2,864 Views)

Yes, the resolution is high enough, it's just the peaks end up being so narrow, its hard to see when overlayed.  Thanks for your help.  

0 Kudos
Message 6 of 6
(2,864 Views)