07-03-2013 09:21 AM
I am trying to transfer the data in an array from a Labview VI into an array in a LVFPGA VI. The point of this is that I'm reading from a text file and my FPGA will use the information in this text file. However, the text files are big and I don't want to have to fill out the array on the FPGA side by hand. I'm using scripting and the get/set control methods with invoke nodes. This works fine when my array is transfered to a VI that is a regualr VI (not a FPGA VI) but it doesn't do anything when it is a FPGA VI. It does not matter if the array on the FPGA VI is fixed or not fixed.
I've attached a few files with my code. Those with LVFPGA will have to create their own FPGA VI.... sorry about that.
Thank in advance.
07-03-2013 09:29 AM
I don't understand what you are trying to say. Are you trying to set this array at run-time or at edit time?
An FPGA VI is compiled into actual hardware to run on the FPGA. So there is no front panel or block diagram. You need to send the data down a DMA FIFO for the FPGA to read.
If this is at edit time, just copy the data in the array (Right-click, Data Operations->Copy Data) and paste it in the array of the FPGA (right-click, Data Operations->Paste Data).