From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Maximum Amplitude in Time Interval

   Hi everyone;

   I am new in Labview.I need to time of two different analog signal at which maximum amplitude occurs.What should I do?

   Thank for your helping.

 

0 Kudos
Message 1 of 7
(3,566 Views)

Hello,

 

this is not enough information.

  • where do you get your signals from? (which type of device, or from file)
  • is it an infinite signal (life data), then which criteria are there for maximum amplitude?
  • what do you have done so far?

 

Greets, Dave
0 Kudos
Message 2 of 7
(3,550 Views)

there is a vi called peak detection read the help file on how to use this vi, how it works and decide if it works for you 🙂

(Hint: try quick drop: Ctrl-Space , enter peak .... )

 

Warning: If you have a lot of datapoints (say 100k) and a wide pulse width (1000) that vi migth take a while 😉

decimation can help in that case 😉

 

HOWEVER: If you have to compare sine signals there are much better solutions ....

so: more information help us to help you!

Greetings from Germany
Henrik

LV since v3.1

“ground” is a convenient fantasy

'˙˙˙˙uıɐƃɐ lɐıp puɐ °06 ǝuoɥd ɹnoʎ uɹnʇ ǝsɐǝld 'ʎɹɐuıƃɐɯı sı pǝlɐıp ǝʌɐɥ noʎ ɹǝqɯnu ǝɥʇ'


0 Kudos
Message 3 of 7
(3,513 Views)

We get signals from microphones which are connected to a0 and a1. We want to find sound location, so we should find peak values of sound signal and compare it.But we couldn't find peak values and time of peak values.

0 Kudos
Message 4 of 7
(3,498 Views)

Thank you so much Henrik, we tried that but couldn't have a result.

0 Kudos
Message 5 of 7
(3,495 Views)

Sound source location 🙂

 

Is this homework?

 

Post what you have tried and include some data!

(And in this case, include the mic distance 😉 )

 

Single sound source ?   Correlation!

 

Different sources ?  Try FFT and phase information

Centerfrequency  of bin -> wavelength, together with phasedifference, c and mic distance -> angle(s),  more FFT bins, more angles, some statistics ... better guess 😄

 

 

 EDIT:  What type of DAQ are you using? Multiplexed inputs? Did you check the rel. groupdelays of the mics (preamps) ?

 

Greetings from Germany
Henrik

LV since v3.1

“ground” is a convenient fantasy

'˙˙˙˙uıɐƃɐ lɐıp puɐ °06 ǝuoɥd ɹnoʎ uɹnʇ ǝsɐǝld 'ʎɹɐuıƃɐɯı sı pǝlɐıp ǝʌɐɥ noʎ ɹǝqɯnu ǝɥʇ'


Message 6 of 7
(3,485 Views)

Henrik,

you beat me to it.

 

murdercrow,

I would google Cross-Correlation. Wikipedia has a good write up.

0 Kudos
Message 7 of 7
(3,478 Views)