LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to clear Host to Target FIFO

Hi guys. In cRIO RT I'm getting data from ethernet and i pass this data to fpga for logic output via Host To Target FIFO. But if i run application second time previous data still in the fifo and junk output generated from digital output. How can i clear host side and fpga side fifo.

Thanks

0 Kudos
Message 1 of 3
(3,320 Views)

Hi,

 

Use FPGA reset invoke node.

 

BR,

Vincent

Message 2 of 3
(3,312 Views)

Reset is simple and works, but has other side effects, which may or may not be desireable. 

 

As another option and to avoid these side effects, you can also simply read the FIFO until it is empty either when shutting down the first time or when starting up the second time.

 

Sebastian

0 Kudos
Message 3 of 3
(3,286 Views)