How to Acquire in FIFO Memory

In FIFO memory, reading data from memory is always done from the oldest data.

The figure below shows the image of acquiring data in FIFO.
When data is captured, the free space of the memory increases by that amount. When acquiring data for the next time, it acquires from the oldest remaining data.
In FIFO, the data that has been captured is discarded from memory.