LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to give a delay values for an array?

Solved!
Go to solution
Solution
Accepted by NAGINENI

@NAGINENI wrote:

Thank you for your valuable inputs.

00,01,02,03,04,05,06,07

08, ..

16, ...

24,25,26,27,28,29,30,31

 

What result are you expecting?

Suppose if I delayed by 4 values, I am expecting

00,00,00,00,00,01,02,03

04,.

12,..

20,21,22,23,24,25,26,27.

 

 


But that's exactly what my code is doing. No need for loops or feedback nodes:

 

altenbach_1-1582478075142.png

 

 

0 Kudos
Message 21 of 23
(705 Views)
Solution
Accepted by NAGINENI

Also, if you really want to use the feedback node (why???), here's how to do it without reshaping to 1D:

 

 

altenbach_1-1582478883400.png

 

0 Kudos
Message 22 of 23
(699 Views)

Note that it is sufficient to initialize with a scalar. Same difference.

 

(You only need an array if the elements should differ. If the array is too short, the last valid element will be reused for the correct delay length)

 

altenbach_0-1582479538128.png

 

 

0 Kudos
Message 23 of 23
(693 Views)