LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

signal time delay

Hi,

I'm a rookie labview student user.

I'm trying to create two simulate signals one lags behind other and measure cross-correlation

After the simulate signal block what can I add to create a delay signal to camper with original?

A singular block or a time loop?

is there an example ?

 

thank

0 Kudos
Message 1 of 12
(9,062 Views)

You could just add a delay to the t0 of the waveform. I would not use the Express VI and the (evil) dynamic data type.

 

0 Kudos
Message 2 of 12
(9,055 Views)

Thank Dennis!

Just a moment for another question:

I would like designe a simulated signal passing in a function transfer H(s), then by FFT get Vout(s)/Vin(s)

and view H(s) :

 

sim.png

may be a correct idea? ...otherwise?

 

0 Kudos
Message 3 of 12
(9,048 Views)

Hello,

Please can you let me know how to get the VIs for time delay. That is the ones you used in the example u sent.

Thanks

Uxe

0 Kudos
Message 4 of 12
(8,957 Views)

Hello Dennis, I have found the VIs. This method doesnt seem to work for live data. How do I achieve this for live data acquisition

Uxe

0 Kudos
Message 5 of 12
(8,955 Views)

I don't understand what you are attempting to do. This thread is about simulating a delay.

0 Kudos
Message 6 of 12
(8,953 Views)

Thanks Dennis for the mail. this is what I am trying to do. I have three sensors on a pipe each supplying data to labview via three individual channels. I would like to synchronize the data in the 1st and 3rd sensors to align with the middle (sensor) such that the outcome is as though all three sensors where measuring flow on the same position.I was thinking trying a time delay on the first two sensors to allign with the third would suffice.

Uxe

0 Kudos
Message 7 of 12
(8,950 Views)

In the first method I posted, you have to make sure 'Ignore Time Stamp' is turned off. An alternate method is to pad the front of the Y array in the waveform. Calculate the number elements to add based on the sample rate and the amount of time you want to add as an offset.

0 Kudos
Message 8 of 12
(8,943 Views)

I need the VI of the the image u uploaded earlier....I don,t the names of the blocks u have used...

0 Kudos
Message 9 of 12
(8,311 Views)

I have managed to build the VI but unable to visually see the two waveforms....???

0 Kudos
Message 10 of 12
(8,305 Views)