After the conversion starts, various operation states of the device can be monitored.
The status of device can be monitored by function AioGetAoStatus.
Ret = AioGetAoStatus ( Id , AoStatus )
In AoStatus, specify the address of the variable that stores the status.
Since AoStatushas meaning for each bit, in order to check the status of
a certain status, please obtain whether the corresponding bit is ON or
OFF.
Execute function AioGetAoSamplingCount
to get the number of generating times to be outputted.
This function is available only in device buffer mode.
Ret = AioGetAoSamplingCount ( ID , AoSamplingCount )
In AoSamplingCount, specify the address of the variable that stores
the number of generating times.
If using RING memory, the value returns to 0 when memory is crossed.
If using RING memory, the number of times of generating returns to 0 each
time the repeat operation is completed.
Execute function AioGetAoRepeatCount
get current number of repeat times.
This function is available only in device buffer mode.
Ret = AioGetAoRepeatCount ( ID , AoRepeatCount )
In AoRepeatCount, specify the address of the variable that stores the number of repeat times.
The figure above shows the relationship between the number of generating
times and the number of repeat times when using RING memory.
Repeat count is added every time ring memory circulation is repeated, and
the number of generating times returns to 0.
Execute function AioGetAoTransferCount
to get current number of transfer times.
This function is available only in device buffer mode.
Ret = AioGetAoiTransferCount ( ID , AoTransferCount )
In AoTransferCount, specify the address of the variable that stores
the number of transfer times.
When overwriting memory is used, the value returns to 0 when memory is
crossed.
Execute function AioGetAoTransferLap
to get the number of memory laps.
This function is available only in device buffer mode.
Ret = AioGetAoTransferLap ( ID , Lap )
In Lap, specify the address of the variable that stores the number of laps.