LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

help me to count

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:

forum.JPG

Is it OK? I think, there is a mistake in it...

Thanks: Koli 

0 Kudos
Message 1 of 6
(3,139 Views)
I dont know whether it usefull to u. Find the VI to find the phase difference between the two signals.
Balaji PK (CLA)
Ever tried. Ever failed. No matter. Try again. Fail again. Fail better

Don't forget Kudos for Good Answers, and Mark a solution if your problem is solved.
0 Kudos
Message 2 of 6
(3,068 Views)
I can't open it, couse i have LV 8.2...
0 Kudos
Message 3 of 6
(3,048 Views)

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 

0 Kudos
Message 4 of 6
(3,028 Views)

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.

0 Kudos
Message 5 of 6
(3,026 Views)

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...

forum.JPG

 

I use local variables for rate and sample, couse i don't wan't a lot of wire...

Is it not good?

Message Edited by Kolos on 08-03-2009 09:44 AM
0 Kudos
Message 6 of 6
(3,021 Views)