05-20-2021 05:32 PM
Greetings, I have the following code (simplified to the basics form of my general application) where I need to run a Linear Algebra matrix multiply block on an FPGA in a loop.
When running the code in simulation mode for a cRIO-9054, the issues are:
After lots of digging, I suspect the Linear Algebra matrix multiply block is not "resetting" with each loop iteration. It continues to ask for new data even after it has ingested all it needs, and on the new loop does not "start" in the same place. I may not have the correct words here but I think this is what is happening.
My question is, how do I reset the Linear Algebra matrix multiply block for each iteration? What if I put it in a function, will that allow it to start from the same place each time?
I have attached the project, host, and target VIs in case this helps.
Thanks in advance!
05-22-2021 03:08 PM
Nothing was attached. If your Project, Host, and Target VIs all "live" in a single folder (perhaps named for the Project), then compress that Folder (which creates a .ZIP file that we all can open) and attach your file to your Reply.
Bob Schor
05-22-2021 11:08 PM
Sorry, see attached.
Also, on the host VI, I expect the first waveform for 0 to 20 to be repeated, however, as you can see, this is not the case. I don't know where these larger numbers are coming from as they are not in the preallocated LUT memories.