12-27-2023 11:06 PM
Hi everyone
I have a SubVI counter in a timed loop (LabVIEW FPGA ) , in this SubVI I have a feedback node with some initial value , but when it is called multiple times , I noticed it take the last value in previous execution and not the initial value .
How can I resolve this issue ? the outer timed loop runs infinitely
Solved! Go to Solution.
12-28-2023 06:17 AM
Right-click on the feedback node and select "Move Initializer One Loop Out". Wire an initial value to the initializer terminal.
12-28-2023 08:07 AM
Or just wire the initialiser terminal at the bottom of the Shift Register, same effect.
12-28-2023 10:43 AM
I tried this , but still it doesn't work and maybe because it is an infinite loop and from host the initial value get called only once .
Still after first call , in the next calls the initial value is previous executed value
Is there a way to solve this issue without shift register or move init out of loop?
12-28-2023 11:14 AM - edited 12-28-2023 11:15 AM