How to Acquire in RING Memory

In RING memory, reading data from memory is always done based on the writing position of current conversion data.

The figure below shows the image of acquiring data in RING.

The number of sampling times (AiSamplingTimes) specified by function AioGetAiSamplingData is the number of sampling times up to the latest data. (The gray part in figure)
The number of AiSamplingTimes is more larger, more older data can be acquired.

In RING, data remains in the memory even if the data is acquired.
So it is possible to capture the data that has been captured for many times.