11-11-2013 12:12 PM
I am relativly new to labview and having done a few learn to use it sessions set out in a project to find the location of a sound source
i am getting the sound from two micophones into a daq assistant and then onto labview the VI is attached
the problems i have having is filtering the frequencys every time i use a filter on labview the premade VI it says it wont go above 2000Hz and i need the band of freqnencys at 10,000 hertz
then to filter off aplitudes lower then an amplitude of 1 becasue below that appears to be white noise and background information i dont need.
Then i need the time delay between the same peaks on two different micophones, such that the sound wave hits micophone 1 then later micophone 2 i wante the time delay between that
I am having problems for about 5 weeks now and would appreciate any help on the subject i have been though alot of NI forums looking at similar things related to the project but nothing so far has helped.
Thanks for your time
VI posted in Labview 2011 virson, I dont have access to any others
11-11-2013 04:50 PM
Please post an example of the measurement file you saved. One that shows the time-shifted microphone outputs, in particular.
11-12-2013 04:05 AM - edited 11-12-2013 04:09 AM
No becuase this site won't let you load lmv files, and i don't seem to be able to change it to another type on excel or labview?
lmv is labview file so why wont it load on this site!?
11-12-2013 04:06 AM
use winzip to make a zip file, the forums allow that.
11-12-2013 04:10 AM
This should be it in winzip
11-12-2013 04:26 AM
I tried doing this in excell
=LOOKUP(MAX(B24:B10023),B24:B10023,A24:A10023)
And although it works on small tables for some reason when i do it across my data it just returns the value 9.999 which is wrong and doing the Max function across B4 to B10023 gives 4.287786 which is the maximum voltage i just cant then get it to read the time value that occured at, although being able to do this in labview would be better.
11-12-2013 04:45 AM
The function will look like this in labview:
11-12-2013 05:08 AM - edited 11-12-2013 05:11 AM
I dont suppose you could write what each of thoes sub VI's are called? i dont reconise the first one.
I got the look up to work in excel the function is =INDEX(A24:A10023,MATCH(MAX(B24:B10023),B24:B10023,0)) but i'd like this to run in labview if possiable?
11-12-2013 05:31 AM
In order:
2D array control>Index array>Array max&min>Index array.
The second function is almost the same:
11-12-2013 05:43 AM
I get this... Im not entirely sure what you're trying to do either
an index of the signals combined --> find the max value --> index compare against signals and output a number?