LabVIEW

cancel
Showing results for
Did you mean:

problem in detecting amplitude of peaks in waveform

Respected sir,

i have a problem in detecting amplitude of peaks in waveform..i have a waveform with both positive and negative values ..while using peak detector it shows amplitude well..but it ignors the negative values...if my wave form is (from base to peak) -0.005 to +0.017 means ...it shows as my peak amplitude as 0.017 oly (from zero to 0.017) ...

but i need , it should shows as 0.022..(adding lowest value and peak value  0.005+0.017=0.022 as it's amplitude)..what shoud i do to get this result? help me..

thank you

Message 1 of 5
(2,179 Views)

Re: problem in detecting amplitude of peaks in waveform

or otherwise , how can i shift this negative lower value in the waveform to zero line? if it is possible means the same peak detector much usfull for detecting peak amplitude in waveform...

thank you

Message 2 of 5
(2,172 Views)

Re: problem in detecting amplitude of peaks in waveform

or otherwise , how can i shift this negative lower value in the waveform to zero line? if it is possible means the same peak detector much usfull for detecting peak amplitude in waveform...

thank you

Message 3 of 5
(2,167 Views)

Re: problem in detecting amplitude of peaks in waveform

Hi kausi,

you might think about some offset correction: simply subtract the minimum value of the waveform from the waveform.

And about those peak values: they are just what the name says: peak values. They aren't peak to peak amplitudes

And for the next time you could attach a VI with some relevant data instead of just a picture of a waveform!

Best regards,
GerdW

using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 4 of 5
(2,165 Views)

Re: problem in detecting amplitude of peaks in waveform

kausi,

If you follow this advice, you may not only get better answers quicker, but you might just find that you are able to answer your question before you even get finished typing it to send out.

Cameron

To err is human, but to really foul it up requires a computer.
The optimist believes we are in the best of all possible worlds - the pessimist fears this is true.
Profanity is the one language all programmers know best.
An expert is someone who has made all the possible mistakes.

To learn something about LabVIEW at no extra cost, work the online LabVIEW tutorial(s):

LabVIEW Unit 1 - Getting Started</ a>
Learn to Use LabVIEW with MyDAQ</ a>
Message 5 of 5
(2,138 Views)