Step 9 : Set Repeat

Sets the repeat times by using function AioSetAoRepeatTimes.
Repeat function is effective only when memory type is set to RING. If the memory type is FIFO, setting repeat has no meaning.
And, If the conversion start condition is software, output from the second time starts automatically without entering the standby state.

Ret = AioSetAoRepeatTimes ( Id , AoRepeatTimes )

In AoRepeatTimes, set the repeat times. Output data set by function AioSetAoSamplingData is repeatedly output for AoRepeatTimes times.
AoRepeatTimes = 0 is the setting of infinite repeat times. Output is repeated indefinitely until the function AioStopAo is executed.