01-24-2017 07:16 AM
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.
01-24-2017 07:57 AM - edited 01-24-2017 07:58 AM
Hello,
this is not enough information.
01-24-2017 10:32 AM - edited 01-24-2017 10:35 AM
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!
01-24-2017 01:34 PM
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.
01-24-2017 01:44 PM
Thank you so much Henrik, we tried that but couldn't have a result.
01-24-2017 02:10 PM - edited 01-24-2017 02:13 PM
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) ?
01-24-2017 02:20 PM
Henrik,
you beat me to it.
murdercrow,
I would google Cross-Correlation. Wikipedia has a good write up.