Repeat indicates the number of times repeating from the establishment
of sampling start condition to the sampling end including delay sampling.
When repeat is set, operation is stopped after repeating conversion under
a series of setting conditions. It is also possible to repeat repeats
indefinitely. To repeat unlimitedly, stop using the forced stop command
by software.
To set and retrieve repeat, use AioSetAiRepeatTimes and AioGetAiRepeatTimes function.
The number of repeat after conversion start is acquired using AioGetAiRepeatCount function.
It is possible to notify the end of repeat by an event. To do this we use the AioSetAiEvent function.
The repeat state does not change with sampling stopped by the AioStopAi function or stopped due to an error.