LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Time delay

I am trying to make a variable time delay as part of a much
larger system. I need

y(k)=u(k-d)

where d is a control integer variable,u is the input and y is the
output.
I tried putting a WHILE loop within a FOR loop but have problems.
Any suggestions?

regards

Tom
0 Kudos
Message 1 of 3
(2,968 Views)
Check timed while loop to see if it can be modified to suit your purpose.
0 Kudos
Message 2 of 3
(2,968 Views)
Many thanks but I figured out a way that works.
What I do is convolve the array to be delayed (by any variable delay)
by another array [1 0 0 0 0 0 0 0] where this is changed to [0 1 0 0 0 0 0 0]
for 2 step delay [0 0 1 0 0 0 0 0] and so on!

regards

Tom


Aderogba wrote:

> Check
> href="http://zone.ni.com/devzone/explprog.nsf/6c163603265406328625682a006ed37d/00464228e2cf35ce862...
to see if it can be modified to suit your purpose.
0 Kudos
Message 3 of 3
(2,968 Views)