LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Fastest way to transfer data from FPGA to Host

Hi:
 
   I am using Labview FPGA  and PXI 7833R Card to do a scan test. The system is Windows XP.
 
   I am wondering what is the fastest way to transfer the data from FPGA chip to the Host processor.
 
   I hope the scan test could run at 8 Meg Hz, so  the data transfer rate between FPGA VI  and Host VI shoulld be
 
greater than 8MHz.  Anybody know how to realize this?
 
   One thing I know is FIFO is limited to 500k B/s.
 
Thanks a lot.
 
 
0 Kudos
Message 1 of 6
(3,283 Views)


Greetings!
  Are you using LabVIEW FPGA 8.0. If that is the case then you could use the DMA integration with the LabVIEW project. Using this manner LabVIEW efficiently and transparently transfers data over the PCI bus from the FPGA VI to a host VI. Please refer to the following links -

http://zone.ni.com/devzone/conceptd.nsf/webmain/c1013cb24fc508ef8625708b0071b3fb


http://zone.ni.com/devzone/conceptd.nsf/webmain/0b5ff8ed662652ee8625708c00548ed8

http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=0502B279D0C961E8E0440003BA7CCD71&p_node=202468&p_source=External

Thanks and hope this helps
Best regards
Avi Harjani

0 Kudos
Message 2 of 6
(3,267 Views)
Hello to everyone,

This is not a reply , but I have a question related to the issue. I'm working with a PCI 7833R and I'm looking also for the fastest data transfer method beetween the FPGA VI and the Host. There's no DMA FIFO avaliable for my target. So, which is the fastest option I have?

Thanks for your attention.
0 Kudos
Message 3 of 6
(3,121 Views)
zermelo,

The PCI-7833R is capable of DMA-FIFO - is there some other part of your system that is preventing you from taking advantage of it?

Any more information you gave give us will help us help you.

Regards,

Simon H
Applications Engineer
National Instruments
0 Kudos
Message 4 of 6
(3,091 Views)
Hi Simon:

Here it is the information for the system:

Labview 8.0,  Windows XP Professional , SP-2. Processor : AMD Sempron 2800+ , 1.6 GHz and 512 MB RAM.

 I' ve tried to run the  riodataacqdma.lvproj (which can be found at http://zone.ni.com/devzone/cda/tut/p/id/4534 attaching the FPGA vi and Host) and also attached the corresponding Host and FPGA VIs. When compiling the Host I got the following message:" Invoke method: method not avaliable for  current target " . Clicking over an invoke method node of the VI I haven't seen any DMA FIFO methods. FIFO Write/ Read operations are avaliable for the local FPGA FIFO, but it seems I cannot use the FIFO for transferring information to the Host VI.

Thanks for your attention



0 Kudos
Message 5 of 6
(3,070 Views)
Sorry Simon!

I've just seen that I can define the FIFO as a DMA in the propierties menu.....I thought LV had to recognize the invoke methods automatically , but it seems you have to specify what kind (local or DMA) of FIFO you're using.

Thanks and forgive me:)

Zermelo

0 Kudos
Message 6 of 6
(3,066 Views)