LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Questions about passing array from RT to FPGA and using array in FPGA?

  I am using cRIO 9004 RIO with cRIO 9104 RIO chasis.
 
  When I want to pass the array from RT to FPGA, it fails to do so. How can I transfer array from RT to FPGA? I have used <host to target DMA  FIFO> but I failed to do so.
 
  See the attached picture.
 
  And then, when I tried to make an array in FPGA VI, it has errors and it tell us that we must fix the size of the array, how can we fix the size of array?
 
  See the attached picture.
 
  Thank you!
 
 
Download All
0 Kudos
Message 1 of 4
(10,856 Views)
As far as the second part of your question:

        Initialize Array will work. Feed that to your For loop. You can't output an array from a For loop with autoindexing on an FPGA.

Message Edited by Bill@NGC on 08-23-2007 12:44 AM

0 Kudos
Message 2 of 4
(10,841 Views)
For your first question the DMA transfer fails because the cRIO-900x controllers do not support host to target DMA.  As and alternitive you can use read/write controls to pass the data down or look into the cRIO-9012 and cRIO-9014 controllers that do support host to target DMA.
 
Regards,
 
Steve
0 Kudos
Message 3 of 4
(10,773 Views)
You can also create an array constant, and right click it. Then, use the Set Size (or something, I don't haveFPGA on this machine) to fix the size of the constant.


Regards,


Wiebe.
0 Kudos
Message 4 of 4
(10,436 Views)