04-21-2023 05:02 AM
Hi ,
I have a for loop , It consists of array of complex number , My query is how to memorize the array in previous iteration?
Solved! Go to Solution.
04-21-2023 05:07 AM - edited 04-21-2023 05:15 AM
@happymood wrote:
Hi ,
I have a for loop , It consists of array of complex number , My query is how to memorize the array in previous iteration?
Have you tried something to achieve this?
Have you aware of shift registers? which will store previous iteration values.
To suggest specifically need better explanation on your query.
04-21-2023 06:54 AM
Thanks for replying,Here is pic I want the data from usrp to be remembered in previous loop of iteration.
04-21-2023 08:24 AM - edited 04-21-2023 08:26 AM
@happymood wrote:
Thanks for replying,Here is pic I want the data from usrp to be remembered in previous loop of iteration.
As suggested already have you tried shift register to hold the previous iteration values, By Extending the Shift register you can access More than 1 iteration value as well.
Shift Registers: Passing Values between Loop Iterations - NI
Note: We cannot debug picture, always good to share the code snippet/VI
04-21-2023 08:29 AM
HERE IS VI
04-21-2023 08:36 AM
@happymood wrote:
HERE IS VI
Still, I am not getting response for my question, have you tried shift register?
I also shared link to how to use shift register.
04-21-2023 09:13 AM
Thanks sir got it from documentation
04-21-2023 09:16 AM
Sir can you bit explain regarding extract frame vi. I only had pic from a video
04-21-2023 09:36 AM
@happymood wrote:
Thanks for replying,Here is pic I want the data from usrp to be remembered in previous loop of iteration.
Shift register. Drag the wire to the loop border and r-click -> Replace with shift register.
04-21-2023 09:46 AM
@happymood wrote:
Sir can you bit explain regarding extract frame vi. I only had pic from a video
Attached Picture is not clear enough to understand what that VI is, I assume it can be of any UserLib Files/Project files/Instrument Library Files. Without knowing we cannot let you know on what it is...