LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Count the delay time between two signals

Hello !
I use PCI-6115 to acquire two signals
One is excitation signal ,the other one is response signal.(see delay time.jpg)

 

Now my question is that how to count the delay time between two signals?

 

I also write two vi to count it ,but it seems that is difficult to count the delay time .

 

Who know where am I wrong ?

 

Thank you in advance !

0 Kudos
Message 1 of 3
(2,492 Views)

two signals are spike train.

For delay time.jpg ,yellow signal is excitation signal, red signal is response signal.

0 Kudos
Message 2 of 3
(2,482 Views)

Using DAQmx functions setup a task to acquire both signals and to trigger off the excitation signal.

 

Then the response waveform can be feed through the Basic Level Trigger Detection.vi and that will give you the time of the response. Depending on how you set up the trigger that time could be the delay you are looking for or you might have to subtract the trigger time of the excitation to get the delay.

Omar
0 Kudos
Message 3 of 3
(2,466 Views)