01-21-2020 02:23 AM
I have problems recreating this example: http://zone.ni.com/reference/en-XX/help/371599G-01/lvfpgaconcepts/fpga_filtering/
I do totally the same as in the example - I have a fixed-size (sub) array [3] on the left (whats the thing with (sub)?), first shift register is okay (it produces fixed-size array [3]), array gets indexed to elements and back, and on the right, there is a variable size array. The right shift register throws error on build.
Even the build array with THREE elements does not produce fixed size array, so I don't get how the attached example could even work.
Solved! Go to Solution.
01-21-2020 02:36 AM
I have noticed that the build array thing behaves differently in top vi and sub vi - in top VI, it produces fixed size arrays. I tried to change reentrancy, input data type, size, can't force it to work properly in subvi.
01-21-2020 02:54 AM
Solved this myself guys! 😄 VI Properties > Execution > Preallocate arrays did that for me. Weird, because labview preallocates everything on FPGA right?