LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

FIFO count

What is the easiest way to keep a count of how many items are stored in an FPGA FIFO in LabVIEW?
 
Thank you.
Mo0nd0gie
Message 1 of 2
(3,687 Views)
Hi There:

Thank you for contacting National Instruments for your FPGA query. There is no built in way to check how many elements are stored in the FIFO at any time. What you can however do is write some logic that will calculate that information.

You can create a variable called 'count'. You can then increment count everytime you call the FIFO Write VI and decrement count when you call the FIFO Read VI.

This is probably the easiest way to accomplish what you are trying to do.

Let me know if I can help out anymore.

Best Regards,

Jaideep
Message 2 of 2
(3,663 Views)