LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

DMA FIFO size evolution

        Dear
 
In the project used a cRIO with a NI9411 slot.
I received data form the FPGA to the host by a DMA FIFO.
On FPGA, all is ok.
On the Host, the size of the FIFO, depend of the user (he stop the acquisition when he would like : stop the acquisition's loop).
 
Questions:
1 Can I change the FIFO size during the acquisition?

2 When the user stop the acquisition, the tranfert is not complet and I have a error message. Is there a solution?
 
  Massif
 
0 Kudos
Message 1 of 3
(2,975 Views)

Hi,

Here is the response to your question :

1) No, it's not possible to change the DMA FIFO size during the acquisition, you need recompile the FPGA VI with the new parameter.

2) Yes, you can ignore this specific error with a "generic handler" function, or you can use the property node that return the number of point into the DMA canal to wait that theire is no data.

Regards,

Christophe S.
Account Manager East of France І Certified LabVIEW Associate Developer І National Instruments France

0 Kudos
Message 2 of 3
(2,949 Views)
  Hi Christophe.
 
Thank you for these short and complet answers.
 
    Julien
0 Kudos
Message 3 of 3
(2,929 Views)