03-17-2025 01:31 AM
Hello everyone.
I want to add a delay in my signal. How can I do so, in labview ?
Here's a better explanation :
Consider the signal y(n) = x(n) + (0.5)x(n-2) , where x(n) is an input signal and y(n) is the output signal.
How do I implement the x(n-2) portion, using the labview tools ?
Thank You.
03-17-2025 01:53 AM
Hi SD,
@SD25 wrote:
How do I implement the x(n-2) portion, using the labview tools ?
Use a shift register.
(What is the meaning of "n" in terms of time units?)
03-17-2025 02:08 AM
I am so sorry to not mention the time unit.
'n' is a discrete integer, indicating the time in seconds.
x(0) and y(0) represent the signal values at n = 0 second.
similarly, x(2) , y(2) , x(1) , y(1) represent the signal values at n = 2 sec and n = 1 sec respectively.
03-17-2025 02:13 AM
03-17-2025 08:24 AM
I absolutely agree with @GerdW that the Shift Register ("Remember the previous value") is the way to go. Something to think about -- what values do you want to use for points (-1) and (-2)? Two possibilities are to use 0 (that's the quantity "zero", which, I think, would be the default if you "did nothing") or to use x(0), the initial value of the signal you are using. Remember that you have to go back 2 points (which determines the appearance of the Shift Register).
Bob Schor