LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Any methods to find the envelope of this waveform?


David Crawford wrote:

However, I have taken a very simple approach to get the upper and lower envelopes. I take an interval, say every 50 points, and find the max and min in that interval. I realise this might not be ideal because you may want to stay in waveform format.


Dear David,

 

Thanks a lot for the vi. Worked like a charm. Smiley Happy

 

But in the example, you have given 30(is it actually the 50 points you said in the post?). If i increase the resolution of the waveform and lets say my oscilloscope is configured for 50000 samples instead of 2500 points, what is the value i need to give? Please clarify me in this regard. Thanks again.

 

If i want to stay back in my waveform format, do you have any idea how to get the same envelope in the XY graph output in to a waveform graph? Very eagerly waiting for your response.

 

Mathan

0 Kudos
Message 21 of 22
(1,119 Views)
Hi Mathan

I am on vacation right now but I will try to help but it will be off the top of my head.

I think I choose that number based on a number of zero crossings. If you measured the frequency of your waveform and compared that to your dt I think you could come up with an appropriate min-max sample interval.

I am pretty sure there is a vi to convert xy pairs to waveform using interpolation on this website. Try doing a search for it. Posting links from an iPhone is a pain.

Cheers

David
Message 22 of 22
(1,103 Views)