07-28-2009 05:29 AM
Hello!
I have a Daq Assistant, it acquisist in N Sample mode with 34k Hz (rate) and one Sample is 1k long. I acquisit 2 signal.
I make a Crosscorrelation with my 2 signals (with crosscorrelation.vi).
I wan't to calculate the time-delay in milisec between the two signal.
Here is what i have done:
Is it OK? I think, there is a mistake in it...
Thanks: Koli
08-03-2009 05:28 AM
08-03-2009 07:10 AM
08-03-2009 09:16 AM
Ok, i had download a trial LV in an other computer, and i had watch the VI you had attached, but i am very stupid from phisic... How can i use this phase-difference? what is the max and min of it? how can i calculate from this the time-difference?
Thx:Kolos
08-03-2009 09:21 AM
Sorry, I don't have DAQ. Can you rewrite it for simulated data (or simply provide some typical data).
I don't understand why you use local variables for rate and sample. Simply wire from the terminal instead.
08-03-2009 09:41 AM - edited 08-03-2009 09:44 AM
I had make some signal with big noise... It's really not the same...I acquisit my signals from two microphone, so generally it looks like 0V witha bit noise, and when i clap for example, 3V and 7V and 0V again...
I use local variables for rate and sample, couse i don't wan't a lot of wire...
Is it not good?