After the conversion starts, various operation states of the device can be monitored.
Status
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.
Number of generating Times
Execute function AioGetAoSamplingCount
to get the number of generating times to be outputted.
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.
Number of Repeat Times
Execute function AioGetAoRepeatCount get current number of repeat times.
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.
Number of generating Times at Stop Trigger Input
Execute function AioGetAoStopTriggerCount to get the number of generating
times when stop trigger is input.
Ret = AioGetAoStopTriggerCount ( ID , AoStopTriggerCount )
In AoStopTriggerCount, specify the address of the variable that stores the number of generating times.